Cargo Features
[dependencies]
canary = { version = "0.3.3", default-features = false, features = ["quic", "json_ser", "bson_ser", "postcard_ser", "messagepack_ser"] }
- default = bson_ser, json_ser, messagepack_ser, postcard_ser, quic
-
These default features are set whenever
canary
is added without
somewhere in the dependency tree.default-features = false - quic default = quinn
- json_ser default = serde_json
-
Affects
formats::Json
… - bson_ser default = bson
-
Affects
formats::Bson
… - postcard_ser default = postcard
-
Affects
formats::Postcard
… - messagepack_ser default = rmp-serde
-
Affects
formats::MessagePack
…
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 json_ser
- postcard postcard_ser
- rmp-serde messagepack_ser
- bson bson_ser
- quinn not wasm32 quic
-
Enables quinn ^0.8.3