Skip to content

Commit ae9d492

Browse files
authored
release v3.0.0-beta (#1119)
1 parent 2057ddc commit ae9d492

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ homepage = "https://www.mongodb.com/docs/drivers/rust/"
1616
license = "Apache-2.0"
1717
readme = "README.md"
1818
name = "mongodb"
19-
version = "2.8.0"
19+
version = "3.0.0-beta"
2020

2121
exclude = [
2222
"etc/**",
@@ -70,7 +70,7 @@ tracing-unstable = ["dep:tracing", "dep:log"]
7070
async-trait = "0.1.42"
7171
base64 = "0.13.0"
7272
bitflags = "1.1.0"
73-
bson = { git = "https://github.com/mongodb/bson-rust", branch = "main" }
73+
bson = "2.11.0"
7474
chrono = { version = "0.4.7", default-features = false, features = ["clock", "std"] }
7575
derivative = "2.1.1"
7676
derive_more = "0.99.17"
@@ -84,8 +84,8 @@ hmac = "0.12.1"
8484
once_cell = "1.19.0"
8585
log = { version = "0.4.17", optional = true }
8686
md-5 = "0.10.1"
87-
mongocrypt = { git = "https://github.com/mongodb/libmongocrypt-rust.git", branch = "main", optional = true }
88-
mongodb-internal-macros = { path = "macros" }
87+
mongocrypt = { version = "0.1.3", optional = true }
88+
mongodb-internal-macros = { path = "macros", version = "3.0.0-beta" }
8989
num_cpus = { version = "1.13.1", optional = true }
9090
openssl = { version = "0.10.38", optional = true }
9191
openssl-probe = { version = "0.1.5", optional = true }

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The driver tests against Linux, MacOS, and Windows in CI.
1818
The driver is available on [crates.io](https://crates.io/crates/mongodb). To use the driver in your application, simply add it to your project's `Cargo.toml`.
1919
```toml
2020
[dependencies]
21-
mongodb = "2.8.0"
21+
mongodb = "3.0.0-beta"
2222
```
2323

2424
Version 1 of this crate has reached end of life and will no longer be receiving any updates or bug fixes, so all users are recommended to always depend on the latest 2.x release. See the [2.0.0 release notes](https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.0.0) for migration information if upgrading from a 1.x version.
@@ -27,7 +27,7 @@ Version 1 of this crate has reached end of life and will no longer be receiving
2727
The driver also provides a blocking sync API. To enable this, add the `"sync"` feature to your `Cargo.toml`:
2828
```toml
2929
[dependencies.mongodb]
30-
version = "2.8.0"
30+
version = "3.0.0-beta"
3131
features = ["sync"]
3232
```
3333
**Note:** The sync-specific types can be imported from `mongodb::sync` (e.g. `mongodb::sync::Client`).

etc/update_version/src/main.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ fn main() {
8585
"Cargo.toml",
8686
r#"name = "mongodb"\nversion = "(?<target>.*?)"\n"#,
8787
),
88+
Location::new(
89+
"Cargo.toml",
90+
r#"mongodb-internal-macros = \{ path = "macros", version = "(?<target>.*?)" \}\n"#,
91+
),
8892
Location::new(
8993
"macros/Cargo.toml",
9094
r#"name = "mongodb-internal-macros"\nversion = "(?<target>.*?)"\n"#,
@@ -99,10 +103,6 @@ fn main() {
99103
r#"html_root_url = "https://docs.rs/mongodb/(?<target>.*?)""#,
100104
),
101105
];
102-
let quote_version_loc = Location::new(
103-
"Cargo.toml",
104-
r#"mongodb-internal-macros = (?<target>\{ path = .* \})\n"#,
105-
);
106106
let bson_version_loc = Location::new("Cargo.toml", r#"bson = (?<target>\{ git = .*? \})\n"#);
107107
let mongocrypt_version_loc =
108108
Location::new("Cargo.toml", r#"mongocrypt = (?<target>\{ git = .*? \})\n"#);
@@ -113,7 +113,6 @@ fn main() {
113113
for loc in &version_locs {
114114
pending.apply(loc, &args.version);
115115
}
116-
pending.apply(&quote_version_loc, &format!("{:?}", args.version));
117116
if let Some(bson) = args.bson {
118117
pending.apply(&bson_version_loc, &format!("{:?}", bson));
119118
}

macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mongodb-internal-macros"
3-
version = "2.8.0"
3+
version = "3.0.0-beta"
44
edition = "2021"
55
license = "Apache-2.0"
66

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
)]
1313
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1414
#![cfg_attr(test, type_length_limit = "80000000")]
15-
#![doc(html_root_url = "https://docs.rs/mongodb/2.8.0")]
15+
#![doc(html_root_url = "https://docs.rs/mongodb/3.0.0-beta")]
1616

1717
#[macro_use]
1818
pub mod options;

0 commit comments

Comments
 (0)