Cargo Features
[dependencies]
channel-bridge = { version = "0.8.0", default-features = false, features = ["std", "portable-atomic", "edge-ws", "embedded-svc", "wasm", "prost"] }
- default = std
-
The
std
feature is set by default wheneverchannel-bridge
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of optional embedded-io, optional embedded-svc ^0.27, and serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - portable-atomic
-
Enables portable-atomic of atomic-waker
- edge-ws = embassy-futures, embedded-io, embedded-io-async, heapless, log, postcard
-
Enables edge-ws ^0.2
Affects
asynch::ws
… - embedded-svc = embassy-futures, heapless, log, postcard
-
Enables embedded-svc ^0.27
Affects
ws::embedded_svc_impl
,asynch::ws
… - wasm = futures, gloo-net
-
Affects
asynch::ws
…
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.
- log edge-ws? embedded-svc?
- heapless edge-ws? embedded-svc?
- prost implicit feature
-
Enables prost ^0.11
prost:
A Protocol Buffers implementation for the Rust Language
Affects
ws::ReceiveData
,ws::ProstError
… - postcard edge-ws? embedded-svc? wasm?
- gloo-net wasm?
-
Enables gloo-net ^0.4
- futures wasm?
- embassy-futures edge-ws? embedded-svc?
- embedded-io edge-ws?
- embedded-io-async edge-ws?