[package]
edition = "2024"
name = "orbit-orm"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An ORM for Rocket.rs apps, with MySQL and MariaDB, PostgreSQL and SQLite"
documentation = "https://docs.rs/orbit-orm"
readme = "README.md"
keywords = [
"orm",
"mysql",
"postgresql",
"sqlite",
"rocket",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/lajennylove/Orbit"
[features]
blocking = []
default = [
"mysql",
"derive",
]
derive = ["dep:orbit-macros"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
[lib]
name = "orbit_orm"
path = "src/lib.rs"
[[test]]
name = "blocking"
path = "tests/blocking.rs"
[[test]]
name = "connection"
path = "tests/connection.rs"
[[test]]
name = "derive"
path = "tests/derive.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "history"
path = "tests/history.rs"
[[test]]
name = "migrate_schema"
path = "tests/migrate_schema.rs"
[[test]]
name = "migrations"
path = "tests/migrations.rs"
[[test]]
name = "naming"
path = "tests/naming.rs"
[[test]]
name = "query"
path = "tests/query.rs"
[[test]]
name = "raw"
path = "tests/raw.rs"
[[test]]
name = "replace"
path = "tests/replace.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[[test]]
name = "transactions"
path = "tests/transactions.rs"
[[test]]
name = "values"
path = "tests/values.rs"
[dependencies.chrono]
version = "0.4.34"
default-features = false
[dependencies.orbit-macros]
version = "0.1.0"
optional = true
[dependencies.sqlx]
version = "0.9.0"
features = [
"runtime-tokio",
"tls-rustls",
"chrono",
]
default-features = false
[dependencies.thiserror]
version = "2.0.21"
[dependencies.tokio]
version = "1.54.1"
features = [
"rt",
"time",
]
default-features = false
[dev-dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt-multi-thread",
"sync",
]