Skip to content

Commit

Permalink
feat(deps): remove vendored uuidv6 dep
Browse files Browse the repository at this point in the history
Now that the PR to
rust-uuidv6 (jedisct1/rust-uuidv6#1), it looks
like we can remove the vendored code that added support for outputting
bytes.

This commit removes the vendored code and uses a published version of uuidv6.

Signed-off-by: vados <[email protected]>
  • Loading branch information
t3hmrman committed Oct 30, 2023
1 parent e10879b commit a7da310
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 150 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ sonyflake = "0.2.0"
timeflake-rs = "0.3.0"
ulid = "1.1.0"
uuid7 = "0.7.2"
uuid6 = "0.1.2"
xid = "1.0.3"
miette = { version = "5.10.0", features = ["fancy"] }

Expand Down
4 changes: 1 addition & 3 deletions src/uuid_v6.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use pgrx::*;

mod vendor;
use vendor::{Node, UUIDv6};
use uuidv6;

/// Generate a UUID v6
#[pg_extern]
Expand Down
147 changes: 0 additions & 147 deletions src/uuid_v6/vendor.rs

This file was deleted.

0 comments on commit a7da310

Please sign in to comment.