Cargo Features

[dependencies]
ferrostar = { version = "0.24.0", default-features = false, features = ["std", "alloc", "wasm_js", "uniffi"] }
default = std, uniffi

These default features are set whenever ferrostar is added without default-features = false somewhere in the dependency tree.

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

Enables js of getrandom

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

Affects ferrostar::create_ferrostar_logger

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?