prepare for 1.12.0 release

This commit is contained in:
KodrAus 2025-01-14 20:35:06 +10:00
parent 358eb34384
commit 8f761754c0
6 changed files with 14 additions and 14 deletions

View File

@ -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.11.1" # remember to update html_root_url in lib.rs
version = "1.12.0" # remember to update html_root_url in lib.rs
rust-version = "1.63.0"
[package.metadata.docs.rs]
@ -149,7 +149,7 @@ version = "1"
# Public: Re-exported
[dependencies.uuid-macro-internal]
version = "1.11.1"
version = "1.12.0"
path = "macros"
optional = true

View File

@ -28,7 +28,7 @@ Add the following to your `Cargo.toml`:
```toml
[dependencies.uuid]
version = "1.11.1"
version = "1.12.0"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
@ -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.11.1/uuid).
For more details on using `uuid`, [see the library documentation](https://docs.rs/uuid/1.12.0/uuid).
## References
* [`uuid` library docs](https://docs.rs/uuid/1.11.1/uuid).
* [`uuid` library docs](https://docs.rs/uuid/1.12.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).

View File

@ -1,6 +1,6 @@
[package]
name = "uuid-macro-internal"
version = "1.11.1"
version = "1.12.0"
edition = "2018"
authors = [
"QnnOkabayashi"

View File

@ -909,7 +909,7 @@ impl Builder {
#[doc(hidden)]
impl Builder {
#[deprecated(
since = "1.11.1",
since = "1.12.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 {
@ -917,7 +917,7 @@ impl Builder {
}
#[deprecated(
since = "1.11.1",
since = "1.12.0",
note = "use `Builder::from_sorted_gregorian_timestamp(ticks, counter, node_id)`"
)]
pub const fn from_sorted_rfc4122_timestamp(

View File

@ -38,7 +38,7 @@
//!
//! ```toml
//! [dependencies.uuid]
//! version = "1.11.1"
//! version = "1.12.0"
//! features = [
//! "v4", # Lets you generate random UUIDs
//! "fast-rng", # Use a faster (but still sufficiently random) RNG
@ -138,7 +138,7 @@
//!
//! ```toml
//! [dependencies.uuid]
//! version = "1.11.1"
//! version = "1.12.0"
//! features = [
//! "v4",
//! "v7",
@ -153,7 +153,7 @@
//!
//! ```toml
//! [dependencies.uuid]
//! version = "1.11.1"
//! version = "1.12.0"
//! default-features = false
//! ```
//!
@ -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.11.1"
html_root_url = "https://docs.rs/uuid/1.12.0"
)]
#[cfg(any(feature = "std", test))]

View File

@ -166,14 +166,14 @@ impl Timestamp {
#[doc(hidden)]
impl Timestamp {
#[deprecated(
since = "1.11.1",
since = "1.12.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.11.1", note = "use `Timestamp::to_gregorian()`")]
#[deprecated(since = "1.12.0", note = "use `Timestamp::to_gregorian()`")]
pub const fn to_rfc4122(&self) -> (u64, u16) {
self.to_gregorian()
}