Cargo Features
[dependencies]
freds = { version = "0.1.2", default-features = false, features = ["read", "write", "serde", "serde_json"] }
- default = read, serde, serde_json, write
-
These default features are set whenever
freds
is added without
somewhere in the dependency tree.default-features = false - read default
-
Affects
inline::InlineData.from_inline_data
,referential::ReferentialData.from_bytes
… - write default = tokio
-
Affects
inline::InlineData.into_inline_data
,traits::DataExt.into_ref
,traits::DataExt.into_inline
,referential::ReferentialData.into_bytes
…
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.
- serde default
- serde_json default
- tokio write