Cargo Features
[dependencies]
black_marlin = { version = "0.3.4", default-features = false, features = ["derive", "json", "perf-inline"] }
- default = derive, perf-inline
-
These default features are set whenever
black_marlin
is added without
somewhere in the dependency tree.default-features = false - derive default = black_marlin-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.