| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "bson" |
| 15 |
version = "2.10.0" |
| 16 |
authors = [ |
| 17 |
"Y. T. Chung <[email protected]>", |
| 18 |
"Kevin Yeh <[email protected]>", |
| 19 |
"Saghm Rossi <[email protected]>", |
| 20 |
"Patrick Freed <[email protected]>", |
| 21 |
"Isabel Atkinson <[email protected]>", |
| 22 |
"Abraham Egnor <[email protected]>", |
| 23 |
] |
| 24 |
exclude = [ |
| 25 |
"etc/**", |
| 26 |
"examples/**", |
| 27 |
"fuzz/**", |
| 28 |
"serde-tests/**", |
| 29 |
"src/tests/**", |
| 30 |
"rustfmt.toml", |
| 31 |
".travis.yml", |
| 32 |
".evergreen/**", |
| 33 |
".gitignore", |
| 34 |
] |
| 35 |
description = "Encoding and decoding support for BSON in Rust" |
| 36 |
readme = "README.md" |
| 37 |
keywords = [ |
| 38 |
"bson", |
| 39 |
"mongodb", |
| 40 |
"serde", |
| 41 |
"serialization", |
| 42 |
"deserialization", |
| 43 |
] |
| 44 |
categories = ["encoding"] |
| 45 |
license = "MIT" |
| 46 |
repository = "https://github.com/mongodb/bson-rust" |
| 47 |
|
| 48 |
[package.metadata.docs.rs] |
| 49 |
all-features = true |
| 50 |
rustdoc-args = [ |
| 51 |
"--cfg", |
| 52 |
"docsrs", |
| 53 |
] |
| 54 |
|
| 55 |
[lib] |
| 56 |
name = "bson" |
| 57 |
|
| 58 |
[dependencies.ahash] |
| 59 |
version = "0.8.0" |
| 60 |
|
| 61 |
[dependencies.base64] |
| 62 |
version = "0.13.0" |
| 63 |
|
| 64 |
[dependencies.bitvec] |
| 65 |
version = "1.0.1" |
| 66 |
|
| 67 |
[dependencies.chrono] |
| 68 |
version = "0.4.15" |
| 69 |
features = ["std"] |
| 70 |
optional = true |
| 71 |
default-features = false |
| 72 |
|
| 73 |
[dependencies.hex] |
| 74 |
version = "0.4.2" |
| 75 |
|
| 76 |
[dependencies.indexmap] |
| 77 |
version = "2.1.0" |
| 78 |
|
| 79 |
[dependencies.once_cell] |
| 80 |
version = "1.5.1" |
| 81 |
|
| 82 |
[dependencies.rand] |
| 83 |
version = "0.8" |
| 84 |
|
| 85 |
[dependencies.serde] |
| 86 |
version = "1.0" |
| 87 |
features = ["derive"] |
| 88 |
|
| 89 |
[dependencies.serde_bytes] |
| 90 |
version = "0.11.5" |
| 91 |
|
| 92 |
[dependencies.serde_json] |
| 93 |
version = "1.0" |
| 94 |
features = ["preserve_order"] |
| 95 |
|
| 96 |
[dependencies.serde_with] |
| 97 |
version = "1.3.1" |
| 98 |
optional = true |
| 99 |
|
| 100 |
[dependencies.serde_with-3] |
| 101 |
version = "3.1.0" |
| 102 |
optional = true |
| 103 |
package = "serde_with" |
| 104 |
|
| 105 |
[dependencies.time] |
| 106 |
version = "0.3.9" |
| 107 |
features = [ |
| 108 |
"formatting", |
| 109 |
"parsing", |
| 110 |
"macros", |
| 111 |
"large-dates", |
| 112 |
] |
| 113 |
|
| 114 |
[dependencies.uuid] |
| 115 |
version = "1.1.2" |
| 116 |
features = [ |
| 117 |
"serde", |
| 118 |
"v4", |
| 119 |
] |
| 120 |
|
| 121 |
[dependencies.uuid-0_8] |
| 122 |
version = "0.8.1" |
| 123 |
features = [ |
| 124 |
"serde", |
| 125 |
"v4", |
| 126 |
] |
| 127 |
optional = true |
| 128 |
package = "uuid" |
| 129 |
|
| 130 |
[dev-dependencies.assert_matches] |
| 131 |
version = "1.2" |
| 132 |
|
| 133 |
[dev-dependencies.chrono] |
| 134 |
version = "0.4" |
| 135 |
features = [ |
| 136 |
"serde", |
| 137 |
"clock", |
| 138 |
"std", |
| 139 |
] |
| 140 |
default-features = false |
| 141 |
|
| 142 |
[dev-dependencies.criterion] |
| 143 |
version = "0.3.0" |
| 144 |
|
| 145 |
[dev-dependencies.pretty_assertions] |
| 146 |
version = "0.6.1" |
| 147 |
|
| 148 |
[dev-dependencies.proptest] |
| 149 |
version = "1.0.0" |
| 150 |
|
| 151 |
[dev-dependencies.serde_bytes] |
| 152 |
version = "0.11" |
| 153 |
|
| 154 |
[features] |
| 155 |
chrono-0_4 = ["chrono"] |
| 156 |
default = [] |
| 157 |
time-0_3 = [] |
| 158 |
uuid-1 = [] |
| 159 |
|
| 160 |
[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys] |
| 161 |
version = "0.3" |
| 162 |
|
| 163 |
[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.getrandom] |
| 164 |
version = "0.2" |
| 165 |
features = ["js"] |