From 52d549ddb433783e7473863ba374d157719708f6 Mon Sep 17 00:00:00 2001 From: David Skrundz Date: Sun, 6 Sep 2026 15:55:58 -0600 Subject: [PATCH] Mark generated Migrator struct as non_exhaustive --- Cargo.lock | 10 +++++----- Cargo.toml | 2 ++ crates/seamantic/Cargo.toml | 2 +- crates/seamantic/src/lib.rs | 1 + 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0e77a6b..06474c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -460,18 +460,18 @@ checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" [[package]] name = "crossbeam-queue" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "803d13fb3b09d88be9f4dbc29062c66b19bf7170867ceb746d2a8689bf6c7a26" +checksum = "03e8bd762f7479489c70ed6c768ddca99d7296857de437a68dcb2a94365b3fae" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.22" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" [[package]] name = "crunchy" @@ -1869,7 +1869,7 @@ dependencies = [ [[package]] name = "seamantic" -version = "1.0.0" +version = "1.0.1" dependencies = [ "sea-orm", "sea-orm-migration", diff --git a/Cargo.toml b/Cargo.toml index bc585d4..24af1f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,8 @@ license-file = "LICENSE.md" publish = false [workspace.dependencies] +seamantic = { path = "crates/seamantic", version = "=1.0.1", default-features = false } + sea-orm = { version = "^2.0.0", default-features = false } sea-orm-migration = { version = "^2.0.0", default-features = false } serde = { version = "^1.0.220", default-features = false } diff --git a/crates/seamantic/Cargo.toml b/crates/seamantic/Cargo.toml index 6c051c6..63e5856 100644 --- a/crates/seamantic/Cargo.toml +++ b/crates/seamantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "seamantic" -version = "1.0.0" +version = "1.0.1" description = "A library to enhance SeaORM" repository = "https://git.skrundz.dev/quantumshade/seamantic" keywords = ["SeaORM"] diff --git a/crates/seamantic/src/lib.rs b/crates/seamantic/src/lib.rs index 3d2f396..935857e 100644 --- a/crates/seamantic/src/lib.rs +++ b/crates/seamantic/src/lib.rs @@ -31,6 +31,7 @@ macro_rules! migrations { /// Auto-generated migration manager #[automatically_derived] + #[non_exhaustive] pub struct Migrator; #[automatically_derived]