2 Commits

Author SHA1 Message Date
davidskrundz b8f25b635d Make Seconds Copy 2026-05-29 21:40:22 -06:00
davidskrundz e066509031 Update sea-orm to rc38 2026-04-18 19:36:59 -06:00
7 changed files with 690 additions and 366 deletions
-8
View File
@@ -1,18 +1,10 @@
{ {
"project_name": null,
"auto_install_extensions": {
"tombi": true,
"cargo-appraiser": true,
},
"languages": { "languages": {
"TOML": { "TOML": {
"format_on_save": "on", "format_on_save": "on",
"formatter": { "language_server": { "name": "tombi" } }, "formatter": { "language_server": { "name": "tombi" } },
}, },
}, },
"lsp": { "lsp": {
"rust-analyzer": { "rust-analyzer": {
"initialization_options": { "initialization_options": {
Generated
+668 -347
View File
File diff suppressed because it is too large Load Diff
+8 -5
View File
@@ -3,14 +3,17 @@ resolver = "2"
members = ["seamantic"] members = ["seamantic"]
[workspace.package] [workspace.package]
edition = "2024"
rust-version = "1.85.0"
license-file = "LICENSE.md" license-file = "LICENSE.md"
edition = "2024"
rust-version = "1.88.0"
[workspace.dependencies] [workspace.dependencies]
sea-orm = { version = "2.0.0-rc.27", default-features = false } seamantic = { path = "seamantic", version = "=0.0.14", default-features = false }
sea-orm-migration = { version = "2.0.0-rc.27", default-features = false }
seamantic = { path = "seamantic", version = "=0.0.12", default-features = false } sea-orm = { version = "=2.0.0-rc.38", default-features = false }
sea-orm-migration = { version = "=2.0.0-rc.38", default-features = false }
serde = { version = "^1", default-features = false } serde = { version = "^1", default-features = false }
serde_test = { version = "^1", default-features = false } serde_test = { version = "^1", default-features = false }
tokio = { version = "^1", default-features = false } tokio = { version = "^1", default-features = false }
+1 -1
View File
@@ -9,7 +9,7 @@ A library to enhance SeaORM
- build: `cargo hack --feature-powerset build` - build: `cargo hack --feature-powerset build`
- clippy: `cargo hack --feature-powerset clippy -- -D warnings` - clippy: `cargo hack --feature-powerset clippy -- -D warnings`
- test: `cargo hack --feature-powerset test` - test: `cargo hack --feature-powerset test`
- test old: `cargo +1.85 hack --feature-powerset test` - test old: `cargo +1.88 hack --feature-powerset test`
- example: `cargo run --example=migrations --features=sqlite` - example: `cargo run --example=migrations --features=sqlite`
- fmt: `cargo fmt --check` - fmt: `cargo fmt --check`
- docs: `RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features` - docs: `RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features`
+6 -4
View File
@@ -1,13 +1,15 @@
[package] [package]
name = "seamantic" name = "seamantic"
version = "0.0.12" version = "0.0.14"
edition.workspace = true license-file.workspace = true
rust-version.workspace = true
description = "A library to enhance SeaORM" description = "A library to enhance SeaORM"
repository = "https://github.com/QuantumShade/seamantic" repository = "https://github.com/QuantumShade/seamantic"
license-file.workspace = true
categories = [] categories = []
edition.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
+1 -1
View File
@@ -13,7 +13,7 @@ type DurationRepr = u64;
/// ///
/// ### Warning: /// ### Warning:
/// Sub-second precision will be lost /// Sub-second precision will be lost
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(transparent))] #[cfg_attr(feature = "serde", serde(transparent))]
#[repr(transparent)] #[repr(transparent)]
+6
View File
@@ -3,3 +3,9 @@ toml-version = "v1.0.0"
[format.rules] [format.rules]
indent-style = "tab" indent-style = "tab"
indent-width = 4 indent-width = 4
# Required for rust <1.94
[[schemas]]
toml-version = "v1.0.0"
path = "tombi://www.schemastore.org/cargo.json"
include = ["Cargo.toml"]