Cargo Features
[dependencies]
fif = { version = "0.7.2", default-features = false, features = ["multi-threaded", "infer-backend", "xdg-mime-backend", "json"] }
- default = json, multi-threaded
-
These default features are set whenever
fif
is added without
somewhere in the dependency tree.default-features = false - multi-threaded default = num_cpus, rayon
-
Affects
parameters::Parameters.jobs
… - infer-backend = infer
- xdg-mime-backend = xdg-mime
- json default = serde, serde_json
-
Affects
formats::Json
…
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.
- rayon multi-threaded
- serde json
- serde_json json
- num_cpus multi-threaded
- infer unix infer-backend?
-
Enables infer =0.13.0
- xdg-mime unix not unix xdg-mime-backend?