Cargo Features
[dependencies]
actix-multiresponse = { version = "0.4.2", default-features = false, features = ["json", "protobuf", "xml"] }
- default = json, protobuf
-
These default features are set whenever
actix-multiresponse
is added without
somewhere in the dependency tree.default-features = false - json default = serde, serde_json
-
Affects
actix-multiresponse::SerdeSupportDeserialize
,actix-multiresponse::SerdeSupportSerialize
… - protobuf default = prost
-
Affects
actix-multiresponse::ProtobufSupport
… - xml = quick-xml, serde
-
Affects
actix-multiresponse::SerdeSupportDeserialize
,actix-multiresponse::SerdeSupportSerialize
…
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 xml?
- serde_json json
- prost protobuf
-
Enables prost ^0.11
- quick-xml xml?
-
Enables quick-xml ^0.27.1