Cargo Features
[dependencies]
remoc = { version = "0.14.0", default-features = false, features = ["full", "rch", "rfn", "robj", "robs", "rtc", "default-codec-set", "codec-bincode", "default-codec-bincode", "codec-ciborium", "default-codec-ciborium", "codec-json", "default-codec-json", "codec-message-pack", "default-codec-message-pack", "codec-postcard", "default-codec-postcard", "full-codecs"] }
- default = default-codec-json, full
-
These default features are set whenever
remoc
is added without
somewhere in the dependency tree.default-features = false - full default = rch, rfn, robj, robs, rtc, serde
- rch full rfn? robj? robs? rtc? = async-trait, serde
-
Enables tokio-util, io-util of tokio
Affects
doctest::loop_channel
,doctest::client_server
,doctest::client_server_bidir
,remoc::rch
,remoc::doctest
… - rfn full = rch
-
Affects
remoc::rfn
… - robj full = rch
-
Affects
remoc::robj
… - robs full = rch
-
Affects
remoc::robs
… - rtc full = async-trait, rch, remoc_macro
-
Affects
remoc::rtc
… - default-codec-set default-codec-bincode? default-codec-ciborium? default-codec-json default-codec-message-pack? default-codec-postcard?
-
Codecs
Affects
remoc::doctest
… - codec-bincode default-codec-bincode? full-codecs? = bincode
- default-codec-bincode = codec-bincode, default-codec-set
- codec-ciborium default-codec-ciborium? full-codecs? = ciborium
- default-codec-ciborium = codec-ciborium, default-codec-set
- codec-json default-codec-json full-codecs? = serde_json
- default-codec-json default = codec-json, default-codec-set
- codec-message-pack default-codec-message-pack? full-codecs? = rmp-serde
- default-codec-message-pack = codec-message-pack, default-codec-set
- codec-postcard default-codec-postcard? full-codecs? = postcard
- default-codec-postcard = codec-postcard, default-codec-set
- full-codecs = codec-bincode, codec-ciborium, codec-json, codec-message-pack, codec-postcard
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.
- remoc_macro rtc?
- async-trait rch? rtc?
- serde full rch?
-
Affects
remoc::codec
… - serde_json codec-json?
-
Enables serde_json
Codecs
- bincode codec-bincode?
- ciborium codec-ciborium?
- rmp-serde codec-message-pack?
- postcard codec-postcard?