Skip to content

Commit 685f1e9

Browse files
committed
Use weak dependency to enable mongocrypt on bson-2 and bson-3 feature
1 parent eb69b8c commit 685f1e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ exclude = [
3232
default = ["compat-3-0-0", "rustls-tls", "dns-resolver"]
3333
compat-3-0-0 = ["compat-3-3-0", "bson-2"]
3434
compat-3-3-0 = []
35-
bson-2 = ["dep:bson2", "mongocrypt/bson-2"]
36-
bson-3 = ["dep:bson3", "mongocrypt/bson-3"]
35+
bson-2 = ["dep:bson2", "mongocrypt?/bson-2"]
36+
bson-3 = ["dep:bson3", "mongocrypt?/bson-3"]
3737
sync = []
3838
rustls-tls = ["dep:rustls", "dep:tokio-rustls", "dep:webpki-roots"]
3939
openssl-tls = ["dep:openssl", "dep:openssl-probe", "dep:tokio-openssl"]

0 commit comments

Comments
 (0)