Cargo Features
[dependencies]
ssp = { version = "0.5.4", default-features = false, features = ["std", "nv200", "jsonrpc", "jsonrpc-std"] }
- default = nv200
-
The
nv200
feature is set by default wheneverssp
is added without
somewhere in the dependency tree.default-features = false - std jsonrpc-std? = serialport
-
Enables std of log, std and std_rng of rand and std of serde, serde_json, and smol-jsonrpc
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
channels::lock_channels
,jsonrpc::get_socket_path
,firmware::parse_firmware_file
… - nv200 default
-
Affects
channels::MAX_CHANNELS
… - jsonrpc jsonrpc-std? = serde_json, smol-jsonrpc
-
Affects
ssp::jsonrpc
… - jsonrpc-std = jsonrpc, std
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.