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 whenever roboplc-rpc is added without default-features = false somewhere in the dependency tree.

std default full? = serde_json, tracing

Enables std of serde

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.

serde_json http? std

Enables serde_json

std

tracing std
rmp-serde msgpack?

Enables rmp-serde

msgpack

url http?

Enables url ^1.6

thiserror http?