Cargo Features
[dependencies]
ecal = { version = "0.2.0", default-features = false, features = ["derive", "use_protobuf", "use_prost", "use_msgpack", "use_capnp"] }
- default = derive, use_prost
-
These default features are set whenever
ecal
is added without
somewhere in the dependency tree.default-features = false - derive default = ecal-derive
- use_protobuf = protobuf
-
Affects
ecal::format.protobuf
,ecal::protobuf
… - use_prost default = prost
-
Affects
ecal::format.prost
,ecal::prost
… - use_msgpack = rmp, rmp-serde, rmpv, serde
-
Affects
ecal::format.msgpack
,ecal::msgpack
… - use_capnp = capnp
-
Affects
ecal::format.capnp
,ecal::capnp
…
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.
- prost use_prost
-
Enables prost ^0.11
- protobuf use_protobuf?
-
Enables protobuf ^2
- rmp use_msgpack?
- rmpv use_msgpack?
- rmp-serde use_msgpack?
- serde use_msgpack?
- capnp use_capnp?
-
Enables capnp ^0.16.0
- ecal-derive derive