[package]
edition = "2024"
rust-version = "1.85"
name = "ormer"
version = "0.1.0"
authors = ["fawdlstty<f@fawdlstty.com>"]
build = false
exclude = ["src/main.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The simplest ORM for Rust."
homepage = "https://github.com/fawdlstty/ormer"
readme = "README.md"
keywords = [
"orm",
"database",
]
categories = []
license = "MIT"
repository = "https://github.com/fawdlstty/ormer"
resolver = "2"
[features]
default = ["turso"]
mysql = ["dep:mysql_async"]
postgresql = [
"dep:tokio-postgres",
"dep:postgres-types",
]
turso = ["dep:turso"]
[lib]
name = "ormer"
path = "src/lib.rs"
[[test]]
name = "create_table_test"
path = "tests/create_table_test.rs"
[[test]]
name = "new_features_test"
path = "tests/new_features_test.rs"
[[test]]
name = "schema_validation_test"
path = "tests/schema_validation_test.rs"
[[test]]
name = "simple_transaction_test"
path = "tests/simple_transaction_test.rs"
[[test]]
name = "syntax_validation"
path = "tests/syntax_validation.rs"
[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.async-trait]
version = "0.1"
[dependencies.mysql_async]
version = "0.34"
optional = true
[dependencies.ormer-derive]
version = "0.1.0"
[dependencies.postgres-types]
version = "0.2"
optional = true
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.52.1"
features = ["full"]
[dependencies.tokio-postgres]
version = "0.7"
features = ["with-chrono-0_4"]
optional = true
[dependencies.turso]
version = "0.1"
optional = true