diff --git a/Cargo.lock b/Cargo.lock index 2c96499c2..656025dee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -417,9 +417,9 @@ dependencies = [ [[package]] name = "bson" -version = "2.15.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969a9ba84b0ff843813e7249eed1678d9b6607ce5a3b8f0a47af3fcf7978e6e" +checksum = "74c1c1044eb5689370b9da714b543a4a8d15601f4a68538dcadcf9c41b916aff" dependencies = [ "ahash", "base64", @@ -432,9 +432,9 @@ dependencies = [ "js-sys", "once_cell", "rand", - "serde", "serde_bytes", - "serde_json", + "simdutf8", + "thiserror", "time", "uuid", ] @@ -2044,7 +2044,6 @@ version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a" dependencies = [ - "indexmap", "itoa", "memchr", "ryu", @@ -2101,6 +2100,12 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + [[package]] name = "siphasher" version = "1.0.1" diff --git a/Cargo.toml b/Cargo.toml index 98762d610..95fb8ef02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ http.workspace = true futures-timer = "3.0.3" # Feature optional dependencies -bson = { version = "2.9.0", optional = true, features = [ +bson = { version = "3", optional = true, features = [ "chrono-0_4", "uuid-1", ] }