forked from rbatis/rbatis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
61 lines (56 loc) · 1.71 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[workspace]
members = [
"rbs",
"rbatis-codegen",
"rbatis-macro-driver",
"example"
]
[package]
name = "rbatis"
version = "4.5.48"
description = "The Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL"
readme = "Readme.md"
authors = ["ce <zhuxiujia@qq.com>"]
edition = "2021"
license = "Apache-2.0"
categories = ["database"]
keywords = ["database", "orm", "mysql", "postgres", "sqlite"]
documentation = "https://docs.rs/rbatis/latest"
repository = "https://github.com/rbatis/rbatis"
homepage = "https://rbatis.github.io/rbatis.io"
[features]
default = ["rbatis-macro-driver/default"]
#debug_mode feature will show decode json data
debug_mode = ["rbatis-macro-driver/debug_mode", "rbs/debug_mode"]
#support upper case sql keyword
upper_case_sql_keyword = []
[dependencies]
rbatis-codegen = { version = "4.5", path = "rbatis-codegen" }
rbatis-macro-driver = { version = "4.5", path = "rbatis-macro-driver", default-features = false, optional = true }
serde = "1"
#log
log = "0.4"
futures-core = { version = "0.3" }
futures = { version = "0.3" }
#object_id
hex = "0.4"
rand = "0.8"
rbs = { version = "4.5"}
rbdc = { version = "4.5", default-features = false }
dark-std = "0.2"
async-trait = "0.1.68"
rbdc-pool-fast = { version = "4.5" }
parking_lot = "0.12.3"
sql-parser = "0.1.0"
[dev-dependencies]
rbatis = { version = "4.5", path = ".", features = ["debug_mode"] }
serde_json = "1"
tokio = { version = "1", features = ["sync", "fs", "net", "rt", "rt-multi-thread", "time", "io-util", "macros"] }
rbdc-mysql = { version = "4.5" }
rbdc-pg = { version = "4.5" }
rbdc-sqlite = { version = "4.5" }
rbdc-mssql = { version = "4.5" }
[profile.release]
lto = true
opt-level = 3
codegen-units = 1