Cargo Features
[dependencies]
routrs = { version = "2.0.0", default-features = false, features = ["all", "core", "highways", "maritime", "railways", "json", "concurrency"] }
- default = core
-
The
core
feature is set by default wheneverroutrs
is added without
somewhere in the dependency tree.default-features = false - all = concurrency, highways, json, maritime, railways
- core default
- highways all? = flate2, json, lazy_static, routrs_highways_dataset
-
Affects
routrs::highways
… - maritime all? = flate2, json, lazy_static, routrs_maritime_dataset
-
Affects
routrs::maritime
… - railways all? = flate2, json, lazy_static, routrs_railways_dataset
-
Affects
routrs::railways
… - json all? highways? maritime? railways? = serde, serde_json
-
Affects
routrs::json
… - concurrency all? = rayon
-
Affects
routrs::concurrency
…
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.