[package]
edition = "2021"
name = "doido-model"
version = "0.0.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SeaORM re-exports plus connection pooling and model testing helpers for Doido apps."
readme = false
license = "MIT"
[features]
cli = ["dep:sea-orm-cli"]
default = ["sqlite"]
mysql = [
"sea-orm/sqlx-mysql",
"sea-orm-migration/sqlx-mysql",
"sea-orm-cli?/sqlx-mysql",
]
postgres = [
"sea-orm/sqlx-postgres",
"sea-orm-migration/sqlx-postgres",
"sea-orm-cli?/sqlx-postgres",
]
sqlite = [
"sea-orm/sqlx-sqlite",
"sea-orm-migration/sqlx-sqlite",
"sea-orm-cli?/sqlx-sqlite",
]
[lib]
name = "doido_model"
path = "src/lib.rs"
[[test]]
name = "association_test"
path = "tests/association_test.rs"
[[test]]
name = "callbacks_test"
path = "tests/callbacks_test.rs"
[[test]]
name = "create_database_test"
path = "tests/create_database_test.rs"
[[test]]
name = "databases_test"
path = "tests/databases_test.rs"
[[test]]
name = "enums_test"
path = "tests/enums_test.rs"
[[test]]
name = "factory_test"
path = "tests/factory_test.rs"
[[test]]
name = "migrate_test"
path = "tests/migrate_test.rs"
[[test]]
name = "migration_dsl_test"
path = "tests/migration_dsl_test.rs"
[[test]]
name = "migration_test"
path = "tests/migration_test.rs"
[[test]]
name = "model_test"
path = "tests/model_test.rs"
[[test]]
name = "normalization_test"
path = "tests/normalization_test.rs"
[[test]]
name = "password_test"
path = "tests/password_test.rs"
[[test]]
name = "polymorphic_test"
path = "tests/polymorphic_test.rs"
[[test]]
name = "pool_options_test"
path = "tests/pool_options_test.rs"
[[test]]
name = "schema_test"
path = "tests/schema_test.rs"
[[test]]
name = "scope_test"
path = "tests/scope_test.rs"
[[test]]
name = "seeds_test"
path = "tests/seeds_test.rs"
[[test]]
name = "serialization_test"
path = "tests/serialization_test.rs"
[[test]]
name = "tasks_test"
path = "tests/tasks_test.rs"
[[test]]
name = "testing_test"
path = "tests/testing_test.rs"
[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
[[test]]
name = "validation_test"
path = "tests/validation_test.rs"
[dependencies.bcrypt]
version = "0.19"
[dependencies.doido-core]
version = "=0.0.14"
[dependencies.sea-orm]
version = "2.0.0"
features = [
"runtime-tokio-rustls",
"macros",
]
default-features = false
[dependencies.sea-orm-cli]
version = "2.0.0"
features = [
"cli",
"codegen",
"runtime-tokio-rustls",
]
optional = true
default-features = false
[dependencies.sea-orm-migration]
version = "2.0.0"
features = ["runtime-tokio-rustls"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_norway]
version = "0.9"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]