[package] name = "try_encoding_from" version = "0.1.4" authors = ["James Spears "] edition = "2018" autotests = false license = "MIT OR Apache-2.0" description = "A convenient API for serde_json, serde_yaml, serde_cbor. Meme of the TryFrom and TryInto traits." homepage = "https://github.com/jameone/try_encoding_from" repository = "https://github.com/jameone/try_encoding_from" keywords = ["encoding", "JSON", "YAML", "CBOR"] categories = ["encoding", "no-std"] readme = "crates-io.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[test]] name = "integration" path = "tests/lib.rs" [features] cbor = ["serde", "serde_cbor"] json = ["serde", "serde_json"] yaml = ["serde", "serde_yaml"] error = [] [dependencies] serde = { version = "1.0", features = ["derive"], default-features = false, optional = true } serde_cbor = { version = "0.11", features = ["alloc"], default-features = false, optional = true } serde_json = { version = "1.0", features = ["alloc"], default-features = false, optional = true } serde_yaml = { version = "0.8", optional = true } [dev-dependencies] btree_graph = { version = "0.2.2", features = ["serde"], default-features = false } criterion = "0.3.3" [[bench]] name = "benchmark" path = "benches/lib.rs" harness = false