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 default-features = false somewhere in the dependency tree.

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.

apache-avro avro?

Enables apache-avro ^0.16.0

rmp-serde messagepack?
serde-lexpr lexpr?
serde-pickle pickle?
serde-xml-rs accept-limited-xml-serialize?
serde_cbor cbor?
serde_json json
serde_qs query-string
serde_yaml yaml
http actix-http?

Enables http ^0.2.8