# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "tideorm"
version = "0.9.10"
authors = ["Mohamad Al Zohbie <alzoubi528@gmail.com>"]
build = false
exclude = [
    ".cargo/**",
    ".github/**",
    ".env.example",
    "book.toml",
    "docs/CNAME",
    "tests/**",
    "wip/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A developer-friendly ORM for Rust with clean, expressive syntax"
homepage = "https://tideorm.com"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "postgres",
    "mysql",
    "sqlite",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/mohamadzoh/tideorm"

[features]
attachments = []
default = [
    "postgres",
    "runtime-tokio",
]
entity-manager = []
fulltext = []
mysql = ["sea-orm/sqlx-mysql"]
postgres = ["sea-orm/sqlx-postgres"]
runtime-async-std = ["sea-orm/runtime-async-std-rustls"]
runtime-tokio = [
    "sea-orm/runtime-tokio-rustls",
    "dep:tokio",
]
sqlite = ["sea-orm/sqlx-sqlite"]
translations = []

[lib]
name = "tideorm"
path = "src/lib.rs"

[[bench]]
name = "attachments_translations_benchmarks"
path = "benches/attachments_translations_benchmarks.rs"
harness = false
required-features = [
    "attachments",
    "translations",
]

[[bench]]
name = "cache_benchmarks"
path = "benches/cache_benchmarks.rs"
harness = false

[[bench]]
name = "crud_benchmarks"
path = "benches/crud_benchmarks.rs"
harness = false

[[bench]]
name = "fulltext_benchmarks"
path = "benches/fulltext_benchmarks.rs"
harness = false
required-features = ["fulltext"]

[[bench]]
name = "or_clause_benchmarks"
path = "benches/or_clause_benchmarks.rs"
harness = false

[[bench]]
name = "query_benchmarks"
path = "benches/query_benchmarks.rs"
harness = false

[[bench]]
name = "relations_benchmarks"
path = "benches/relations_benchmarks.rs"
harness = false

[[bench]]
name = "stability_benchmarks"
path = "benches/stability_benchmarks.rs"
harness = false

[[bench]]
name = "tokenization_benchmarks"
path = "benches/tokenization_benchmarks.rs"
harness = false

[[bench]]
name = "validation_benchmarks"
path = "benches/validation_benchmarks.rs"
harness = false

[dependencies.arc-swap]
version = "1.7.1"

[dependencies.argon2]
version = "0.5.3"
features = ["std"]

[dependencies.async-trait]
version = "0.1.89"

[dependencies.chacha20poly1305]
version = "0.10.1"
features = ["std"]

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.rand]
version = "0.10.0"

[dependencies.regex]
version = "1.12.3"

[dependencies.rust_decimal]
version = "1.41.0"
features = ["serde"]

[dependencies.sea-orm]
version = "2.0.0-rc.37"
features = [
    "macros",
    "with-chrono",
    "with-json",
    "with-rust_decimal",
    "with-uuid",
    "schema-sync",
]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tideorm-macros]
version = "0.9.10"

[dependencies.tokio]
version = "1.50.0"
features = ["full"]
optional = true

[dependencies.url]
version = "2.5.7"

[dependencies.uuid]
version = "1.23.0"
features = [
    "serde",
    "v4",
]

[dev-dependencies.criterion]
version = "0.8.2"
features = ["async_tokio"]

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.tokio]
version = "1.50.0"
features = [
    "full",
    "test-util",
    "macros",
]

[dev-dependencies.trybuild]
version = "1.0.112"
