# 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"
name = "rbatis"
version = "4.5.19"
authors = ["ce <zhuxiujia@qq.com>"]
description = "The Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL"
homepage = "https://rbatis.github.io/rbatis.io"
documentation = "https://docs.rs/rbatis/latest"
readme = "Readme.md"
keywords = [
    "database",
    "orm",
    "mysql",
    "postgres",
    "sqlite",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/rbatis/rbatis"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1

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

[dependencies.dark-std]
version = "0.2"

[dependencies.futures]
version = "0.3"

[dependencies.futures-core]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.8"

[dependencies.rbatis-codegen]
version = "4.5"

[dependencies.rbatis-macro-driver]
version = "4.5"
optional = true
default-features = false

[dependencies.rbdc]
version = "4.5"
default-features = false

[dependencies.rbdc-pool-fast]
version = "4.5"

[dependencies.rbs]
version = "4.5"

[dependencies.serde]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "fs",
    "net",
    "rt",
    "rt-multi-thread",
    "time",
    "io-util",
    "macros",
]

[features]
debug_mode = [
    "rbatis-macro-driver/debug_mode",
    "rbs/debug_mode",
]
default = ["rbatis-macro-driver/default"]
upper_case_sql_keyword = []
