Cargo Features
[dependencies]
roboplc-rpc = { version = "0.1.8", default-features = false, features = ["std", "full", "canonical", "msgpack", "http"] }
- default = std
-
The
std
feature is set by default wheneverroboplc-rpc
is added without
somewhere in the dependency tree.default-features = false - std default full? = serde_json, tracing
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
roboplc-rpc::Id
,roboplc-rpc::client
,roboplc-rpc::dataformat
,roboplc-rpc::server
… - full = http, msgpack, std
- canonical
- msgpack full? = rmp-serde
- http full? = serde_json, thiserror, url
-
Enables http
Affects
tools::http
…
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.