Skip to content

Commit

Permalink
Merge pull request #636 from KodrAus/fix/v1-breakage
Browse files Browse the repository at this point in the history
Fix up lost re-export of v1 Timestamp
  • Loading branch information
KodrAus authored Oct 8, 2022
2 parents 399e878 + 9f823fe commit cac99f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl Uuid {
///
/// # References
///
/// * [Nil UUID in RFC4122]: https://tools.ietf.org/html/rfc4122.html#section-4.1.7
/// * [Nil UUID in RFC4122](https://tools.ietf.org/html/rfc4122.html#section-4.1.7)
///
/// # Examples
///
Expand All @@ -80,7 +80,7 @@ impl Uuid {
///
/// # References
///
/// * [Max UUID in Draft RFC: New UUID Formats, Version 4]: https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format-04#section-5.4
/// * [Max UUID in Draft RFC: New UUID Formats, Version 4](https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format-04#section-5.4)
///
/// # Examples
///
Expand Down
5 changes: 3 additions & 2 deletions src/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
//! This module is soft-deprecated. Instead of using the `Context` type re-exported here,
//! use the one from the crate root.

use crate::{Builder, Timestamp, Uuid};
use crate::{Builder, Uuid};

pub use crate::timestamp::context::Context;
#[deprecated(note = "use types from the crate root instead")]
pub use crate::{timestamp::context::Context, Timestamp};

impl Uuid {
/// Create a new version 1 UUID using the current system time and node ID.
Expand Down

0 comments on commit cac99f5

Please sign in to comment.