Cargo Features
[dependencies]
http_uri = { version = "1.0.1", default-features = false, features = ["invariants", "serde", "sophia"] }
- default = invariants
-
The
invariants
feature is set by default wheneverhttp_uri
is added without
somewhere in the dependency tree.default-features = false - invariants default = gdp_rs
-
Enables frunk_core
Affects
http_uri::invariant
,http_uri::predicate
… - serde
-
Enables serde
feature: serde
and serde of iri-string and optional gdp_rs
gdp_rs:
feature: invariants
- sophia
-
Enables sophia_api
feature: sophia-term-impl
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.