-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathCargo.toml
107 lines (95 loc) · 2.42 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
98
99
100
101
102
103
104
105
106
107
[workspace]
members = ["derive"]
[package]
authors = ["blackbeam <[email protected]>"]
name = "mysql_common"
description = "MySql protocol primitives"
license = "MIT/Apache-2.0"
homepage = "https://github.com/blackbeam/rust_mysql_common"
documentation = "https://docs.rs/mysql_common"
repository = "https://github.com/blackbeam/rust_mysql_common"
keywords = ["mysql", "database"]
categories = ["database"]
# * Invoke `cargo readme > README.md` if relevant!
version = "0.34.1"
edition = "2018"
exclude = [
"/lib",
"/proptest-regressions",
"/test-data",
"/wrapper.cc",
"/wrapper.hh",
"README.tpl",
".github",
]
[badges]
travis-ci = { repository = "blackbeam/rust_mysql_common" }
[dependencies]
base64 = "0.22"
bigdecimal = { version = ">=0.3, <0.5", optional = true }
bitflags = "2.3"
bitvec = { version = "1.0", optional = true }
byteorder = "1"
bytes = "1.0"
chrono = { version = "0.4.20", default-features = false, features = [
"clock",
"serde",
], optional = true }
crc32fast = "1.2"
flate2 = { version = "1.0", default-features = false }
frunk = { version = "0.4", optional = true }
lazy_static = "1"
num-bigint = { version = "0.4" }
num-traits = { version = "0.2", features = ["i128"] }
rand = "0.8"
regex = "1.5"
rust_decimal = { version = "1.0", optional = true }
sha1 = "0.10"
sha2 = "0.10"
thiserror = "1.0"
time = { version = "0.3", default-features = false, features = [
"parsing",
], optional = true }
uuid = { version = "1" }
saturating = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
mysql-common-derive = { path = "derive", version = "0.32.0", optional = true }
btoi = "0.4.3"
zstd = "0.13"
[dev-dependencies]
time = { version = "0.3", features = ["macros"] }
proptest = "1.0"
unic-langid = { version = "0.9.4" }
[build-dependencies]
bindgen = { version = "0.70", default-features = false, features = [
"runtime",
], optional = true }
cc = "1.0"
cmake = "0.1"
subprocess = "0.2"
[profile.bench]
debug = true
[profile.features-subsets]
inherits = "test"
debug = false
strip = "debuginfo"
incremental = false
[features]
default = ["flate2/zlib", "derive"]
test = ["derive", "time", "bindgen"]
derive = ["mysql-common-derive"]
binlog = ["bitvec"]
nightly = ["test"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
no-default-features = true
features = [
"flate2/zlib",
"time",
"rust_decimal",
"chrono",
"bigdecimal",
"derive",
"binlog",
]