[package]
edition = "2024"
rust-version = "1.85"
name = "ormer"
version = "0.1.4"
authors = ["fawdlstty<f@fawdlstty.com>"]
build = false
exclude = ["src/main.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An ORM framework with a usage style similar to Linq, supporting Turso(SQLite), PostgresQL, MySQL"
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"]
full = [
"turso",
"postgresql",
"mysql",
]
mysql = ["dep:mysql_async"]
postgresql = [
"dep:tokio-postgres",
"dep:postgres-types",
]
turso = ["dep:turso"]
[lib]
name = "ormer"
path = "src/lib.rs"
doctest = false
[[test]]
name = "_test_common"
path = "tests/_test_common.rs"
[[test]]
name = "aggregate_test"
path = "tests/aggregate_test.rs"
harness = true
[[test]]
name = "aggregate_type_test"
path = "tests/aggregate_type_test.rs"
[[test]]
name = "collect_with_test"
path = "tests/collect_with_test.rs"
[[test]]
name = "connection_pool_simple_test"
path = "tests/connection_pool_simple_test.rs"
[[test]]
name = "connection_pool_test"
path = "tests/connection_pool_test.rs"
[[test]]
name = "create_table_test"
path = "tests/create_table_test.rs"
[[test]]
name = "direct_create_test"
path = "tests/direct_create_test.rs"
[[test]]
name = "drop_table_test"
path = "tests/drop_table_test.rs"
[[test]]
name = "exec_sql_test"
path = "tests/exec_sql_test.rs"
[[test]]
name = "foreign_key_sql_test"
path = "tests/foreign_key_sql_test.rs"
[[test]]
name = "foreign_key_test"
path = "tests/foreign_key_test.rs"
[[test]]
name = "in_statement_test"
path = "tests/in_statement_test.rs"
[[test]]
name = "insert_batch_test"
path = "tests/insert_batch_test.rs"
[[test]]
name = "insert_or_update_patterns_test"
path = "tests/insert_or_update_patterns_test.rs"
[[test]]
name = "insert_or_update_test"
path = "tests/insert_or_update_test.rs"
[[test]]
name = "join_test"
path = "tests/join_test.rs"
[[test]]
name = "main_insert_patterns_test"
path = "tests/main_insert_patterns_test.rs"
[[test]]
name = "main_usage_test"
path = "tests/main_usage_test.rs"
[[test]]
name = "map_to_complete_test"
path = "tests/map_to_complete_test.rs"
[[test]]
name = "new_features_test"
path = "tests/new_features_test.rs"
[[test]]
name = "print_sql_test"
path = "tests/print_sql_test.rs"
[[test]]
name = "range_flexible_test"
path = "tests/range_flexible_test.rs"
[[test]]
name = "range_test"
path = "tests/range_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 = "step_by_step_test"
path = "tests/step_by_step_test.rs"
[[test]]
name = "subquery_test"
path = "tests/subquery_test.rs"
[[test]]
name = "syntax_validation"
path = "tests/syntax_validation.rs"
[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
[[test]]
name = "typed_column_types_test"
path = "tests/typed_column_types_test.rs"
[[test]]
name = "validate_table_test"
path = "tests/validate_table_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.4"
[dependencies.paste]
version = "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
[dev-dependencies.paste]
version = "1.0"