Cargo Features
loader-rs has no features set by default.
[dependencies]
loader-rs = { version = "0.7.0", features = ["json-loader", "trait_json", "trait_serde_json", "trait_serde_yaml", "testing-helpers"] }
- json-loader trait_json? trait_serde_json? trait_serde_yaml? = json-trait-rs
-
Affects
loader-rs::json
… - trait_json = json, json-loader
-
Enables trait_json of json-trait-rs
- trait_serde_json = json-loader, serde_json
-
Enables trait_serde_json of json-trait-rs
- trait_serde_yaml = json-loader, serde_yaml
-
Enables trait_serde_yaml of json-trait-rs
- testing-helpers = derive_builder, mockito, serde_json
-
Enables trait_serde_json of json-trait-rs
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.