[package] name = "polyglot" version = "0.2.1" authors = ["William Dussault "] edition = "2018" description = "A library for format-agnostic serialization" license-file = "LICENSE" repository = "https://github.com/dalloriam/polyglot" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = [] json_fmt = ["serde_json"] msgpack_fmt = ["rmp-serde"] toml_fmt = ["toml"] yaml_fmt = ["serde_yaml"] #full = ["json_fmt", "msgpack_fmt", "toml_fmt"] [dependencies] serde = {version = "1.0.104", features = ["derive"]} # File formats rmp-serde = {version = "0.14.3", optional = true} serde_json = {version = "1.0.46", optional = true } toml = {version = "0.5.6", optional = true} serde_yaml = {version = "0.8", optional = true}