-
Notifications
You must be signed in to change notification settings - Fork 146
/
Copy pathCargo.toml
97 lines (85 loc) · 2.54 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[package]
name = "mysql"
version = "26.0.0"
authors = ["blackbeam"]
description = "Mysql client library implemented in rust"
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/mysql"
repository = "https://github.com/blackbeam/rust-mysql-simple"
keywords = ["database", "sql"]
exclude = ["tests/*", ".*", "Makefile"]
categories = ["database"]
edition = "2021"
build = "build.rs"
[badges.azure-devops]
build = "1"
pipeline = "blackbeam.rust-mysql-simple"
project = "aikorsky/mysql Rust"
[lib]
name = "mysql"
path = "src/lib.rs"
[profile.bench]
debug = true
[features]
default = ["minimal", "derive", "buffer-pool"]
default-rust = ["minimal-rust", "derive", "buffer-pool"]
# minimal feature set with system flate2 impl
minimal = ["flate2/zlib"]
# minimal feature set with rust flate2 impl
minimal-rust = ["flate2/rust_backend"]
# native TLS backend
native-tls = ["dep:native-tls"]
# rustls TLS backend with aws_lc_rs provider
rustls-tls = ["rustls", "rustls/aws_lc_rs"]
# rustls TLS backend with ring provider
rustls-tls-ring = ["rustls", "rustls/ring"]
# rustls TLS backend (no provider)
rustls = [
"dep:rustls",
"rustls/logging",
"rustls/std",
"rustls/tls12",
"webpki",
"webpki-roots",
"rustls-pemfile",
]
# global buffer pool
buffer-pool = []
nightly = []
# mysql_common features
derive = ["mysql_common/derive"]
chrono = ["mysql_common/chrono"]
time = ["mysql_common/time"]
bigdecimal = ["mysql_common/bigdecimal"]
rust_decimal = ["mysql_common/rust_decimal"]
frunk = ["mysql_common/frunk"]
binlog = ["mysql_common/binlog"]
[dev-dependencies]
mysql_common = { version = "0.34", features = ["time", "frunk"] }
rand = "0.8.2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
time = "0.3"
frunk = "0.4"
[dependencies]
bufstream = "~0.1"
bytes = "1.0.1"
crossbeam-queue = "0.3.12"
flate2 = { version = "1.0", default-features = false }
io-enum = "1.0.0"
lru = { version = "0.12", default-features = false }
mysql_common = { version = "0.34", default-features = false }
native-tls = { version = "0.2.3", optional = true }
pem = "3"
percent-encoding = "2.1.0"
rustls = { version = "0.23", optional = true, default-features = false }
rustls-pemfile = { version = "2.1", optional = true }
socket2 = "0.5.2"
twox-hash = { version = "2", default-features = false, features = ["xxhash64"] }
url = "2.1"
webpki = { version = "0.22", features = ["std"], optional = true }
webpki-roots = { version = "0.26", optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
named_pipe = "~0.4"
[target.'cfg(unix)'.dependencies]
libc = "0.2"