sqlmodel-core 0.4.3

Core types and traits for SQLModel Rust
[package]
name = "sqlmodel-core"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "Core types and traits for SQLModel Rust"
repository.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/sqlmodel-core"
readme = "README.md"
keywords = ["sql", "orm", "database", "sqlmodel", "core"]
categories = ["database", "database-implementations"]

[lints]
workspace = true

[features]
default = []
# Model fields of type chrono::{NaiveDate, NaiveTime, NaiveDateTime, DateTime<Utc|FixedOffset>}
chrono = ["dep:chrono"]
# Model fields of type uuid::Uuid
uuid = ["dep:uuid"]
# Model fields of type rust_decimal::Decimal
decimal = ["dep:rust_decimal"]
# `?` on `Outcome` (asupersync's `Try` impl). Needs a nightly toolchain, which this
# workspace pins anyway; left off by default so the crates still build on the MSRV.
nightly-try = ["asupersync/nightly-outcome-try"]
# Test-only cancellation-injection support (`CancelAt`): compiled only by
# crates that opt in; never part of the published default feature set.
test-support = []

[dependencies]
asupersync.workspace = true
serde.workspace = true
serde_json.workspace = true
regex.workspace = true
tracing.workspace = true
chrono = { workspace = true, optional = true }
uuid = { workspace = true, optional = true }
rust_decimal = { workspace = true, optional = true }

[dev-dependencies]
asupersync = { workspace = true, features = ["test-internals"] }