# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "ubjson" version = "0.1.0" authors = ["Mathieu Amiot "] include = ["**/*.rs", "Cargo.toml"] description = "UBJSON parser" homepage = "https://github.com/OtaK/ubjson" documentation = "https://docs.rs/ubjson" readme = "README.md" keywords = ["ubjson", "ubj", "nom"] categories = ["parser-implementations", "encoding"] license = "MIT OR Apache-2.0" repository = "https://github.com/OtaK/ubjson" [profile.release] lto = true codegen-units = 1 [[bench]] name = "ubjson" path = "bench/ubjson.rs" harness = false [[bench]] name = "vs_serde_json" path = "bench/vs_serde_json.rs" harness = false [dependencies.anyhow] version = "1.0" [dependencies.nom] version = "6.1" [dependencies.num_enum] version = "0.5" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.serde] version = "1.0" [dev-dependencies.serde_json] version = "1.0" [features] default = [] impl-serde = ["serde", "serde_json"]