Cargo Features
[dependencies]
sailfish = { version = "0.9.0", default-features = false, features = ["config", "derive", "json", "perf-inline"] }
- default = config, derive, perf-inline
-
These default features are set whenever
sailfish
is added without
somewhere in the dependency tree.default-features = false - config default
-
enable configuration file (sailfish.toml) support
Enables config of sailfish-macros
- derive default = sailfish-macros
-
automatically import derive macro
- json = serde, serde_json
-
enable json filter
- perf-inline default
-
add more #[inline] attribute
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.