Cargo Features
[dependencies]
simple_serde = { version = "2.0.0", default-features = false, features = ["accept-limited-xml-serialize", "actix-http", "avro", "bson", "json5", "flexbuffers", "postcard", "messagepack", "ron", "lexpr", "pickle", "cbor", "json", "query-string", "yaml", "toml"] }
- default = bson, json, json5, query-string, ron, toml, yaml
-
These default features are set whenever
simple_serde
is added without
somewhere in the dependency tree.default-features = false - accept-limited-xml-serialize = serde-xml-rs
- actix-http = http
-
Enables actix-http
- avro = apache-avro
- bson default
-
Enables bson
- json5 default
-
Enables json5
- flexbuffers
-
Enables flexbuffers
- postcard
-
Enables postcard
- messagepack = rmp-serde
- ron default
-
Enables ron
- lexpr = serde-lexpr
- pickle = serde-pickle
- cbor = serde_cbor
- json default = serde_json
- query-string default = serde_qs
- yaml default = serde_yaml
- toml default
-
Enables toml
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.