[package]
edition = "2021"
name = "rbatis"
version = "4.7.2"
authors = ["ce <zhuxiujia@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
[features]
debug_mode = [
"rbatis-macro-driver/debug_mode",
"rbs/debug_mode",
]
default = ["rbatis-macro-driver/default"]
println_gen = ["rbatis-macro-driver/println_gen"]
upper_case_sql_keyword = []
[lib]
name = "rbatis"
path = "src/lib.rs"
[[test]]
name = "crud_test"
path = "tests/crud_test.rs"
[[test]]
name = "decode_test"
path = "tests/decode_test.rs"
[[test]]
name = "executor_test"
path = "tests/executor_test.rs"
[[test]]
name = "html_sql_test"
path = "tests/html_sql_test.rs"
[[test]]
name = "intercept_test"
path = "tests/intercept_test.rs"
[[test]]
name = "loader_html"
path = "tests/loader_html.rs"
[[test]]
name = "object_id_test"
path = "tests/object_id_test.rs"
[[test]]
name = "page_test"
path = "tests/page_test.rs"
[[test]]
name = "parser_html"
path = "tests/parser_html.rs"
[[test]]
name = "parser_pysql"
path = "tests/parser_pysql.rs"
[[test]]
name = "py_sql_test"
path = "tests/py_sql_test.rs"
[[test]]
name = "rbatis_sql_page_test"
path = "tests/rbatis_sql_page_test.rs"
[[test]]
name = "rbatis_sql_test"
path = "tests/rbatis_sql_test.rs"
[[test]]
name = "rbatis_table_util_test"
path = "tests/rbatis_table_util_test.rs"
[[test]]
name = "rbdc_test"
path = "tests/rbdc_test.rs"
[[test]]
name = "rbs_test"
path = "tests/rbs_test.rs"
[[test]]
name = "snowflake_test"
path = "tests/snowflake_test.rs"
[[test]]
name = "string_util_test"
path = "tests/string_util_test.rs"
[[test]]
name = "table_util_test"
path = "tests/table_util_test.rs"
[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
[[bench]]
name = "decode"
path = "benches/decode.rs"
[[bench]]
name = "encode"
path = "benches/encode.rs"
[[bench]]
name = "exchange"
path = "benches/exchange.rs"
[[bench]]
name = "object_id"
path = "benches/object_id.rs"
[[bench]]
name = "raw_performance"
path = "benches/raw_performance.rs"
[[bench]]
name = "snowflake"
path = "benches/snowflake.rs"
[dependencies.async-trait]
version = "0.1"
[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.parking_lot]
version = "0.12.3"
[dependencies.rand]
version = "0.10"
[dependencies.rbatis-codegen]
version = "4.7"
[dependencies.rbatis-macro-driver]
version = "4.7"
optional = true
default-features = false
[dependencies.rbdc]
version = "4.7"
default-features = false
[dependencies.rbdc-pool-fast]
version = "4.7"
[dependencies.rbs]
version = "4"
[dependencies.serde]
version = "1"
[dev-dependencies.log]
version = "0.4.20"
[dev-dependencies.rbdc-sqlite]
version = "4.7"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"sync",
"fs",
"net",
"rt",
"rt-multi-thread",
"time",
"io-util",
"macros",
]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1