[package] name = "simple_serde" version = "2.0.0" edition = "2021" authors = ["Anders Blenstrup-Pedersen "] description = "A wrapper around multiple serde libraries making it easy to encode and decode multiple types" readme = "README.md" categories = ["serialization", "deserialization", "Encoding", "Decoding"] license = "MIT" repository = "https://github.com/nebula-technologies/simple-serde" resolver = "2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["yaml", "toml", "json", "query-string", "ron", "json5", "bson"] accept-limited-xml-serialize = ["serde-xml-rs"] actix-http = ["dep:actix-http", "http"] avro = ["apache-avro"] bson = ["dep:bson"] json5 = ["dep:json5"] flexbuffers = ["dep:flexbuffers"] postcard = ["dep:postcard"] messagepack = ["rmp-serde"] ron = ["dep:ron"] lexpr = ["serde-lexpr"] pickle = ["serde-pickle"] cbor = ["serde_cbor"] json = ["serde_json"] query-string = ["serde_qs"] yaml = ["serde_yaml"] toml = ["dep:toml"] [dependencies] apache-avro = { version = "0.16.0", features = ["snappy"], optional = true } bson = { version = "2.10.0", optional = true } flexbuffers = { version = "2.0.0", optional = true } json5 = { version = "0.4.1", optional = true } postcard = { version = "1.0.8", features = ["alloc"], optional = true } rmp-serde = { version = "1.3.0", optional = true } ron = { version = "0.9.0-alpha.0", optional = true } serde = "1.0.200" serde-lexpr = { version = "0.1.3", optional = true } serde-pickle = { version = "1.1.1", optional = true } serde-xml-rs = { version = "0.6.0", optional = true } serde_cbor = { version = "0.11.2", optional = true } serde_derive = "1.0.200" serde_json = { version = "1.0.116", optional = true } serde_qs = { version = "0.13.0", optional = true } serde_yaml = { version = "0.9.33", optional = true } toml = { version = "0.8.12", optional = true } derive_more = "0.99.17" actix-http = { version = "3.2.2", optional = true } [dependencies.http] version = "0.2.8" optional = true