Skip to content

Commit

Permalink
prepare for 1.11.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Oct 16, 2024
1 parent d9b34e7 commit 59fbb1e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ homepage = "https://github.com/uuid-rs/uuid"
name = "uuid"
readme = "README.md"
repository = "https://github.com/uuid-rs/uuid"
version = "1.10.0" # remember to update html_root_url in lib.rs
version = "1.11.0" # remember to update html_root_url in lib.rs
rust-version = "1.60.0"

[package.metadata.docs.rs]
Expand Down Expand Up @@ -149,7 +149,7 @@ version = "1"

# Public: Re-exported
[dependencies.uuid-macro-internal]
version = "1.10.0"
version = "1.11.0"
path = "macros"
optional = true

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add the following to your `Cargo.toml`:

```toml
[dependencies.uuid]
version = "1.10.0"
version = "1.11.0"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
Expand Down Expand Up @@ -65,11 +65,11 @@ assert_eq!(Some(Version::Random), my_uuid.get_version());
If you'd like to parse UUIDs _really_ fast, check out the [`uuid-simd`](https://github.com/nugine/uuid-simd)
library.

For more details on using `uuid`, [see the library documentation](https://docs.rs/uuid/1.10.0/uuid).
For more details on using `uuid`, [see the library documentation](https://docs.rs/uuid/1.11.0/uuid).

## References

* [`uuid` library docs](https://docs.rs/uuid/1.10.0/uuid).
* [`uuid` library docs](https://docs.rs/uuid/1.11.0/uuid).
* [Wikipedia: Universally Unique Identifier](http://en.wikipedia.org/wiki/Universally_unique_identifier).
* [RFC 9562: Universally Unique IDentifiers (UUID)](https://www.ietf.org/rfc/rfc9562.html).

Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uuid-macro-internal"
version = "1.10.0"
version = "1.11.0"
edition = "2018"
authors = [
"QnnOkabayashi"
Expand Down
4 changes: 2 additions & 2 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -909,15 +909,15 @@ impl Builder {
#[doc(hidden)]
impl Builder {
#[deprecated(
since = "1.10.0",
since = "1.11.0",
note = "use `Builder::from_gregorian_timestamp(ticks, counter, node_id)`"
)]
pub const fn from_rfc4122_timestamp(ticks: u64, counter: u16, node_id: &[u8; 6]) -> Self {
Builder::from_gregorian_timestamp(ticks, counter, node_id)
}

#[deprecated(
since = "1.10.0",
since = "1.11.0",
note = "use `Builder::from_sorted_gregorian_timestamp(ticks, counter, node_id)`"
)]
pub const fn from_sorted_rfc4122_timestamp(
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
//!
//! ```toml
//! [dependencies.uuid]
//! version = "1.10.0"
//! version = "1.11.0"
//! features = [
//! "v4", # Lets you generate random UUIDs
//! "fast-rng", # Use a faster (but still sufficiently random) RNG
Expand Down Expand Up @@ -138,7 +138,7 @@
//!
//! ```toml
//! [dependencies.uuid]
//! version = "1.10.0"
//! version = "1.11.0"
//! features = [
//! "v4",
//! "v7",
Expand All @@ -153,7 +153,7 @@
//!
//! ```toml
//! [dependencies.uuid]
//! version = "1.10.0"
//! version = "1.11.0"
//! default-features = false
//! ```
//!
Expand Down Expand Up @@ -211,7 +211,7 @@
#![doc(
html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
html_root_url = "https://docs.rs/uuid/1.10.0"
html_root_url = "https://docs.rs/uuid/1.11.0"
)]

#[cfg(any(feature = "std", test))]
Expand Down
4 changes: 2 additions & 2 deletions src/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@ impl Timestamp {

#[doc(hidden)]
impl Timestamp {
#[deprecated(since = "1.10.0", note = "use `Timestamp::from_gregorian(ticks, counter)`")]
#[deprecated(since = "1.11.0", note = "use `Timestamp::from_gregorian(ticks, counter)`")]
pub const fn from_rfc4122(ticks: u64, counter: u16) -> Self {
Timestamp::from_gregorian(ticks, counter)
}

#[deprecated(since = "1.10.0", note = "use `Timestamp::to_gregorian()`")]
#[deprecated(since = "1.11.0", note = "use `Timestamp::to_gregorian()`")]
pub const fn to_rfc4122(&self) -> (u64, u16) {
self.to_gregorian()
}
Expand Down

0 comments on commit 59fbb1e

Please sign in to comment.