From 302612281f3e08f32866ff24c3db2975034404ae Mon Sep 17 00:00:00 2001 From: David Skrundz Date: Mon, 13 Oct 2025 23:18:16 -0600 Subject: [PATCH] Update sea-orm to 2.0.0-rc.10 --- Cargo.lock | 46 ++++++++++++++++++++++++++------- Cargo.toml | 4 +-- seamantic/Cargo.toml | 2 +- seamantic/src/model/duration.rs | 4 +-- seamantic/src/model/id.rs | 4 +-- seamantic/src/model/path.rs | 4 +-- 6 files changed, 46 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 24207a1..b0f9c8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -268,6 +268,27 @@ dependencies = [ "syn", ] +[[package]] +name = "derive_more" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "unicode-xid", +] + [[package]] name = "digest" version = "0.10.7" @@ -1084,12 +1105,13 @@ dependencies = [ [[package]] name = "sea-orm" -version = "2.0.0-rc.7" +version = "2.0.0-rc.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ddcd2f974a1e5ecf9fed287dd939d4801d78fea4f68b9870498fa867e12e589" +checksum = "d10d776a4086bc1dea156d52f4d52f61617b5d074b4c026304b9d7aef7d0117a" dependencies = [ "async-stream", "async-trait", + "derive_more", "futures-util", "log", "ouroboros", @@ -1106,9 +1128,9 @@ dependencies = [ [[package]] name = "sea-orm-cli" -version = "2.0.0-rc.7" +version = "2.0.0-rc.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b63ef6eedd012d359b947b5bb283549ceae56ea44b92d0da884c3e8d605439" +checksum = "bd68cd7fffcfd5262a2d5ae8f425305c0fccaf1354b9dd9159a4d316efff6ca7" dependencies = [ "chrono", "glob", @@ -1123,9 +1145,9 @@ dependencies = [ [[package]] name = "sea-orm-macros" -version = "2.0.0-rc.7" +version = "2.0.0-rc.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3019198b9202bbc96c389d5dfe33f0ba98032ff8ad293fe9c2e11b7c6d992830" +checksum = "bd736f392dbe4b5bdbae5b57068c3c206fd3d50c2437c14303e1e2d626def5a8" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -1137,9 +1159,9 @@ dependencies = [ [[package]] name = "sea-orm-migration" -version = "2.0.0-rc.7" +version = "2.0.0-rc.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ed01c2f512034f765fb90ffccdf82af8cd948b327c60559ac55d3fb79a119c" +checksum = "f963e814a7a2605f1dc30372301d06150d9b447ca19f2365662121fbd612056d" dependencies = [ "async-trait", "sea-orm", @@ -1211,7 +1233,7 @@ dependencies = [ [[package]] name = "seamantic" -version = "0.0.6" +version = "0.0.7" dependencies = [ "sea-orm", "sea-orm-migration", @@ -1631,6 +1653,12 @@ version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d" +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + [[package]] name = "untrusted" version = "0.9.0" diff --git a/Cargo.toml b/Cargo.toml index 9c3e4a2..788000b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,8 +35,8 @@ overflow-checks = true strip = "debuginfo" [workspace.dependencies] -sea-orm = { version = "2.0.0-rc.7", default-features = false } -sea-orm-migration = { version = "2.0.0-rc.7", default-features = false } +sea-orm = { version = "2.0.0-rc.10", default-features = false } +sea-orm-migration = { version = "2.0.0-rc.10", default-features = false } serde = { version = "^1", default-features = false } serde_test = { version = "^1", default-features = false } diff --git a/seamantic/Cargo.toml b/seamantic/Cargo.toml index 77827f8..875a6ee 100644 --- a/seamantic/Cargo.toml +++ b/seamantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "seamantic" -version = "0.0.6" +version = "0.0.7" categories = [] description = "A library to enhance SeaORM" diff --git a/seamantic/src/model/duration.rs b/seamantic/src/model/duration.rs index 451c0d1..cd74388 100644 --- a/seamantic/src/model/duration.rs +++ b/seamantic/src/model/duration.rs @@ -76,8 +76,8 @@ impl Nullable for Seconds { #[cfg(test)] mod tests { use sea_orm::{ - ActiveModelBehavior, DeriveEntityModel, DerivePrimaryKey, DeriveRelation, EnumIter, - PrimaryKeyTrait, + ActiveModelBehavior, DeriveEntityModel, DerivePrimaryKey, DeriveRelation, EntityTrait, + EnumIter, PrimaryKeyTrait, }; use super::Seconds; diff --git a/seamantic/src/model/id.rs b/seamantic/src/model/id.rs index 514b6eb..d9394de 100644 --- a/seamantic/src/model/id.rs +++ b/seamantic/src/model/id.rs @@ -140,8 +140,8 @@ impl Nullable for Id { #[cfg(test)] mod tests { use sea_orm::{ - ActiveModelBehavior, DeriveEntityModel, DerivePrimaryKey, DeriveRelation, EnumIter, - PrimaryKeyTrait, + ActiveModelBehavior, DeriveEntityModel, DerivePrimaryKey, DeriveRelation, EntityTrait, + EnumIter, PrimaryKeyTrait, }; use super::Id; diff --git a/seamantic/src/model/path.rs b/seamantic/src/model/path.rs index acb6dd8..32305e9 100644 --- a/seamantic/src/model/path.rs +++ b/seamantic/src/model/path.rs @@ -83,8 +83,8 @@ impl Nullable for PathBytes { #[cfg(test)] mod tests { use sea_orm::{ - ActiveModelBehavior, DeriveEntityModel, DerivePrimaryKey, DeriveRelation, EnumIter, - PrimaryKeyTrait, + ActiveModelBehavior, DeriveEntityModel, DerivePrimaryKey, DeriveRelation, EntityTrait, + EnumIter, PrimaryKeyTrait, }; use super::PathBytes;