Skip to content

Commit d669596

Browse files
RUST-2240 Enable bson serde_json-1 feature flag where necessary (#1416)
1 parent f909c9f commit d669596

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ in-use-encryption-unstable = ["in-use-encryption"]
7070
# Enables support for emitting tracing events.
7171
# The tracing API is unstable and may have backwards-incompatible changes in minor version updates.
7272
# TODO: pending https://github.com/tokio-rs/tracing/issues/2036 stop depending directly on log.
73-
tracing-unstable = ["dep:tracing", "dep:log"]
73+
tracing-unstable = ["dep:tracing", "dep:log", "bson3?/serde_json-1"]
7474

7575
[dependencies]
7676
async-trait = "0.1.42"
@@ -207,6 +207,13 @@ reqwest = { version = "0.12.2", features = ["rustls-tls"] }
207207
serde-hex = "0.1.0"
208208
serde_path_to_error = "0.1"
209209

210+
[dev-dependencies.bson3]
211+
git = "https://github.com/mongodb/bson-rust"
212+
branch = "main"
213+
package = "bson"
214+
version = "3.0.0"
215+
features = ["serde", "serde_json-1"]
216+
210217
[package.metadata.docs.rs]
211218
rustdoc-args = ["--cfg", "docsrs"]
212219
all-features = true

0 commit comments

Comments
 (0)