[package]
edition = "2024"
name = "premix-orm"
version = "1.0.9-alpha"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Alpha research ORM for Rust. Facade crate for premix-core and premix-macros (not production-ready)."
readme = "README.md"
keywords = [
"orm",
"database",
"sql",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/premix-labs/premix-orm"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
actix = ["dep:actix-web"]
axum = ["dep:axum"]
default = ["sqlite"]
metrics = ["premix-core/metrics"]
mysql = ["premix-core/mysql"]
postgres = ["premix-core/postgres"]
sqlite = ["premix-core/sqlite"]
[lib]
name = "premix_orm"
path = "src/lib.rs"
[[test]]
name = "belongs_to_eager"
path = "tests/belongs_to_eager.rs"
[[test]]
name = "integration_mysql"
path = "tests/integration_mysql.rs"
[[test]]
name = "integration_postgres"
path = "tests/integration_postgres.rs"
[[test]]
name = "integration_sqlite"
path = "tests/integration_sqlite.rs"
[[test]]
name = "metrics_sqlite"
path = "tests/metrics_sqlite.rs"
[[test]]
name = "relations_edge"
path = "tests/relations_edge.rs"
[[test]]
name = "schema_migration_sqlite"
path = "tests/schema_migration_sqlite.rs"
[dependencies.actix-web]
version = "4"
optional = true
[dependencies.axum]
version = "0.7"
optional = true
[dependencies.premix-core]
version = "=1.0.9-alpha"
[dependencies.premix-macros]
version = "=1.0.9-alpha"
[dependencies.sqlx]
version = "0.8"
default-features = false
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.metrics]
version = "0.22"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sqlx]
version = "0.8"
features = [
"sqlite",
"postgres",
"mysql",
"runtime-tokio",
]
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]