forked from blackbeam/rust_mysql_common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
110 lines (99 loc) · 2.49 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
108
109
110
[workspace]
members = ["derive"]
[package]
authors = ["blackbeam <aikorsky@gmail.com>"]
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.30.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.21"
bigdecimal02 = { package = "bigdecimal", version = "0.2", features = [
"serde",
], optional = true }
bigdecimal = { version = "0.3", optional = true }
bitflags = "2"
bitvec = "1.0"
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"
lexical = "6.0"
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"
smallvec = { version = "1.6.1", features = ["union", "write"] }
thiserror = "1.0"
time02 = { package = "time", version = "0.2", default-features = false, features = [
"std",
], optional = true }
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.30.0", optional = true }
[dev-dependencies]
proptest = "1.0"
[build-dependencies]
bindgen = { version = "0", default-features = false, features = ["runtime"] }
cc = "1.0"
cmake = "0.1"
subprocess = "0.2"
[profile.bench]
debug = true
[features]
default = [
"flate2/zlib",
"bigdecimal",
"rust_decimal",
"time",
"frunk",
"derive",
]
test = ["derive"]
derive = ["mysql-common-derive"]
nightly = ["test"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
no-default-features = true
features = [
"flate2/zlib",
"time02",
"time",
"rust_decimal",
"chrono",
"bigdecimal02",
"bigdecimal",
"derive",
]