# 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 = "2018" name = "bson" version = "2.13.0" authors = [ "Y. T. Chung ", "Kevin Yeh ", "Saghm Rossi ", "Patrick Freed ", "Isabel Atkinson ", "Abraham Egnor ", ] build = false exclude = [ "etc/**", "examples/**", "fuzz/**", "serde-tests/**", "src/tests/**", "rustfmt.toml", ".travis.yml", ".evergreen/**", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Encoding and decoding support for BSON in Rust" readme = "README.md" keywords = [ "bson", "mongodb", "serde", "serialization", "deserialization", ] categories = ["encoding"] license = "MIT" repository = "https://github.com/mongodb/bson-rust" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "bson" path = "src/lib.rs" [dependencies.ahash] version = "0.8.0" [dependencies.base64] version = "0.13.0" [dependencies.bitvec] version = "1.0.1" [dependencies.chrono] version = "0.4.15" features = ["std"] optional = true default-features = false [dependencies.hex] version = "0.4.2" [dependencies.indexmap] version = "2.1.0" [dependencies.once_cell] version = "1.5.1" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_bytes] version = "0.11.5" [dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dependencies.serde_path_to_error] version = "0.1.16" optional = true [dependencies.serde_with] version = "1.3.1" optional = true [dependencies.serde_with-3] version = "3.1.0" optional = true package = "serde_with" [dependencies.time] version = "0.3.9" features = [ "formatting", "parsing", "macros", "large-dates", ] [dependencies.uuid] version = "1.1.2" features = [ "serde", "v4", ] [dependencies.uuid-0_8] version = "0.8.1" features = [ "serde", "v4", ] optional = true package = "uuid" [dev-dependencies.assert_matches] version = "1.2" [dev-dependencies.chrono] version = "0.4" features = [ "serde", "clock", "std", ] default-features = false [dev-dependencies.criterion] version = "0.3.0" [dev-dependencies.pretty_assertions] version = "0.6.1" [dev-dependencies.proptest] version = "1.0.0" [dev-dependencies.serde_bytes] version = "0.11" [features] chrono-0_4 = ["chrono"] default = [] hashable = [] serde_path_to_error = ["dep:serde_path_to_error"] time-0_3 = [] uuid-1 = [] [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.js-sys] version = "0.3" [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.getrandom] version = "0.2" features = ["js"]