Cargo Features
[dependencies]
ferrostar = { version = "0.23.0", default-features = false, features = ["std", "alloc", "wasm_js", "uniffi"] }
- default = std, uniffi
-
These default features are set whenever
ferrostar
is added without
somewhere in the dependency tree.default-features = false - std default wasm_js? = alloc
-
Enables std of proptest and serde_json
proptest:
Enables the use of standard-library dependent features
- alloc std
- wasm_js = serde-wasm-bindgen, std, wasm-bindgen, web-time
-
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
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.
- serde-wasm-bindgen wasm_js?
- uniffi default
- getrandom wasm_js?
- wasm-bindgen wasm_js?
-
Affects
navigation_controller::JsNavigationController
,routing_adapters::JsRouteAdapter
,simulation::js_location_simulation_from_coordinates
,simulation::js_location_simulation_from_route
,simulation::js_location_simulation_from_polyline
,simulation::js_advance_location_simulation
… - web-time wasm_js?