# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "nson" version = "0.14.0-rc3" authors = ["danc "] exclude = [ ".gitignore", ".travis.yml", "deploy.sh", "test/**/*", ] description = "NSON is a lightweight data-interchange format like JSON or BSON" homepage = "https://github.com/danclive/nson" documentation = "https://docs.rs/nson" readme = "README.md" keywords = [ "nson", "serialization", "encoding", ] categories = ["encoding"] license = "MIT" repository = "https://github.com/danclive/nson" [dependencies.base64] version = "0.22" optional = true default-features = false [dependencies.hash32] version = "0.3" optional = true default-features = false [dependencies.hex] version = "0.4" default-features = false [dependencies.indexmap] version = "2.2" features = ["serde"] default-features = false [dependencies.once_cell] version = "1.19" optional = true default-features = false [dependencies.rand] version = "0.8" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.serde_bytes] version = "0.11" optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["preserve_order"] optional = true default-features = false [features] alloc = [ "hex/alloc", "once_cell/alloc", "hash32", "serde?/alloc", "serde_bytes?/alloc", "serde_json?/alloc", "base64?/alloc", ] default = [ "alloc", "serde", ] json = [ "serde", "serde_json", "base64", ] serde = [ "dep:serde", "serde_bytes", ] std = [ "alloc", "indexmap/std", "rand/std", "rand/std_rng", "hex/std", "once_cell/std", "serde?/std", "serde_bytes?/std", "serde_json?/std", "base64?/std", ]