# 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 = "2021"
rust-version = "1.81.0"
name = "njord"
version = "0.5.0"
authors = ["Marcus Cvjeticanin <mjovanc@icloud.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A versatile, feature-rich Rust ORM."
homepage = "https://njord.rs"
documentation = "https://docs.rs/njord/latest/njord/"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "sql",
]
license = "BSD-3-Clause"
repository = "https://github.com/njord-rs/njord"

[package.metadata.docs.rs]
all-features = true

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

[[test]]
name = "mariadb_tests"
path = "tests/mariadb/mod.rs"

[[test]]
name = "mssql_tests"
path = "tests/mssql/mod.rs"

[[test]]
name = "mysql_tests"
path = "tests/mysql/mod.rs"

[[test]]
name = "oracle_tests"
path = "tests/oracle/mod.rs"

[[test]]
name = "sqlite_tests"
path = "tests/sqlite/mod.rs"

[dependencies.log]
version = "0.4.22"

[dependencies.mysql]
version = "25.0.1"
optional = true

[dependencies.njord_derive]
version = "0.5.0"

[dependencies.oracle]
version = "0.6.2"
features = ["chrono"]
optional = true

[dependencies.rusqlite]
version = "0.32.1"
features = ["bundled"]
optional = true

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

[dependencies.tiberius]
version = "0.12.3"
features = [
    "chrono",
    "time",
    "tds73",
    "rust_decimal",
    "bigdecimal",
    "rustls",
]
optional = true
default-features = false

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

[dependencies.tokio-util]
version = "0.7.12"
features = ["compat"]
optional = true

[dev-dependencies.njord_derive]
version = "0.5.0"

[features]
default = ["sqlite"]
mariadb = ["dep:mysql"]
mssql = [
    "dep:tiberius",
    "dep:tokio",
    "dep:tokio-util",
]
mysql = ["dep:mysql"]
oracle = ["dep:oracle"]
sqlite = ["dep:rusqlite"]

[target."cfg(any())".dependencies.njord_derive]
version = "0.5.0"

[badges.maintenance]
status = "actively-developed"