-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
47 lines (44 loc) · 1.91 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
[workspace]
members = ["rbdc-pool-fast","rbdc-sqlite","rbdc-mysql","rbdc-pg","rbdc-mssql", "example"]
[package]
name = "rbdc"
version = "4.5.41"
edition = "2021"
description = "The Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL"
readme = "Readme.md"
authors = ["ce <[email protected]>"]
license = "Apache-2.0"
categories = ["database"]
keywords = ["database", "orm", "mysql", "postgres", "sqlite"]
documentation = "https://rbatis.github.io/rbatis.io"
repository = "https://github.com/rbatis/rbatis"
homepage = "https://rbatis.github.io/rbatis.io"
[features]
default = ["tls-rustls"]
tls-rustls = ["rustls", "webpki-roots", "rustls-pemfile", "tokio-rustls"]
tls-native-tls = ["native-tls", "tokio-native-tls"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1", features = ["sync", "fs", "net", "rt", "rt-multi-thread", "time", "io-util", "macros"] }
tokio-rustls = { version = "0.26.0", default-features = false, optional = true, features = ["ring"] }
rustls = { version = "0.23.3", default-features = false, optional = true, features = ["ring"] }
webpki-roots = { version = "0.26.0", optional = true }
rustls-pemfile = { version = "2.0.0", optional = true }
log = "0.4"
serde = "1"
serde_json = "1"
bytes = "1.1.0"
memchr = "2.5.0"
futures-core = { version = "0.3.19", default-features = false }
futures-util = { version = "0.3.21", features = ["alloc", "sink"] }
futures-channel = { version = "0.3.21", default-features = false, features = ["sink", "alloc", "std"] }
tokio-native-tls = { version = "0.3.0", optional = true }
native-tls = { version = "0.2.10", optional = true }
rbs = { version = "4.5" }
fastdate = { version = "0.3" }
serde_bytes = "0.11.6"
async-trait = "0.1.56"
uuid = { version = "1.1", features = ["v4"] }
itoa = "1.0"
bigdecimal = { version = "0.4.1", features = ["serde"] }
lru = "0.12.0"