Cargo Features
[dependencies]
channel-bridge = { version = "0.9.0", default-features = false, features = ["std", "portable-atomic", "edge-ws", "embedded-svc", "wasm", "prost"] }
- default = std
-
The
stdfeature is set by default wheneverchannel-bridgeis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Enables std of optional embedded-io ^0.6, optional embedded-svc, 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.4
Affects
asynch::ws… - embedded-svc = embassy-futures, heapless, log, postcard
-
Enables embedded-svc
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?
-
Enables heapless ^0.8
- 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?
- futures wasm?
- embassy-futures edge-ws? embedded-svc?
- embedded-io edge-ws?
-
Enables embedded-io ^0.6
- embedded-io-async edge-ws?
-
Enables embedded-io-async ^0.6