Skip to content

Commit

Permalink
Use UUID v1.0 release
Browse files Browse the repository at this point in the history
UUID had their offical v1.0 release now 🎉

Postgres crates already support it via the `with-uuid-1` option,
so let's do it!

Fixes SeaQL#325
  • Loading branch information
marti4d committed May 11, 2022
1 parent 3abd0ed commit 0baad8f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ chrono = { version = "^0", optional = true }
postgres-types = { version = "^0", optional = true }
rust_decimal = { version = "^1", optional = true }
bigdecimal = { version = "^0.2", optional = true }
uuid = { version = "^0", optional = true }
uuid = { version = "1", optional = true }
proc-macro2 = { version = "1", optional = true }
quote = { version = "^1", optional = true }
time = { version = "^0.2", optional = true }
Expand All @@ -67,7 +67,7 @@ postgres-chrono = ["with-chrono", "postgres-types/with-chrono-0_4"]
postgres-json = ["with-json", "postgres-types/with-serde_json-1"]
postgres-rust_decimal = ["with-rust_decimal", "rust_decimal/db-postgres"]
postgres-bigdecimal = ["with-bigdecimal"]
postgres-uuid = ["with-uuid", "postgres-types/with-uuid-0_8"]
postgres-uuid = ["with-uuid", "postgres-types/with-uuid-1"]
postgres-array = ["postgres-types/array-impls", "sea-query-driver/postgres-array"]
postgres-interval = ["proc-macro2", "quote"]
postgres-time = ["with-time", "postgres-types/with-time-0_2"]
Expand Down
2 changes: 1 addition & 1 deletion examples/postgres_json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
chrono = "^0"
time = "^0.2"
uuid = { version = "^0", features = ["serde", "v4"] }
uuid = { version = "1", features = ["serde", "v4"] }
serde_json = "^1"
rust_decimal = { version = "^1" }
postgres = "^0.19"
Expand Down
2 changes: 1 addition & 1 deletion examples/rusqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
chrono = { version = "^0" }
time = { version = "^0.2" }
serde_json = { version = "^1" }
uuid = { version = "^0", features = ["serde", "v4"] }
uuid = { version = "1", features = ["serde", "v4"] }
sea-query = { path = "../../", features = [
"rusqlite",
"with-chrono",
Expand Down
2 changes: 1 addition & 1 deletion examples/sqlx_mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
chrono = "^0"
time = "^0.2"
uuid = { version = "^0", features = ["serde", "v4"] }
uuid = { version = "1", features = ["serde", "v4"] }
serde_json = "^1"
rust_decimal = { version = "^1" }
bigdecimal = { version = "^0.2" }
Expand Down
2 changes: 1 addition & 1 deletion examples/sqlx_postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
chrono = "^0"
time = "^0.2"
uuid = { version = "^0", features = ["serde", "v4"] }
uuid = { version = "1", features = ["serde", "v4"] }
serde_json = "^1"
rust_decimal = { version = "^1" }
bigdecimal = { version = "^0.2" }
Expand Down
2 changes: 1 addition & 1 deletion examples/sqlx_sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
chrono = "^0"
time = "^0.2"
uuid = { version = "^0", features = ["serde", "v4"] }
uuid = { version = "1", features = ["serde", "v4"] }
serde_json = "^1"
async-std = { version = "1.8", features = [ "attributes" ] }
sea-query = { path = "../../", features = [
Expand Down

0 comments on commit 0baad8f

Please sign in to comment.