forked from blackbeam/rust-mysql-simple
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (71 loc) · 1.56 KB
/
Cargo.toml
File metadata and controls
93 lines (71 loc) · 1.56 KB
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
[package]
name = "mysql"
version = "12.3.1"
authors = ["blackbeam"]
description = "Mysql client library implemented in rust"
license = "MIT"
documentation = "https://docs.rs/mysql"
repository = "https://github.com/blackbeam/rust-mysql-simple"
keywords = ["database", "sql"]
exclude = ["tests/*", ".*", "Makefile"]
categories = ["database"]
[lib]
name = "mysql"
path = "src/lib.rs"
[profile.dev]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
debug = false
lto = true
[profile.test]
opt-level = 0
debug = true
[profile.bench]
opt-level = 3
debug = false
lto = true
[profile.doc]
opt-level = 0
debug = true
[features]
default = ['mysql_common']
nightly = ['mysql_common']
rustc_serialize = ['mysql_common/rustc_serialize', 'rustc-serialize']
ssl = ['mysql_common', "openssl", "security-framework"]
open-ssl = ['mysql_common', "openssl"]
[dev-dependencies]
serde_derive = "1"
[dependencies]
bit-vec = "0.4"
byteorder = "1"
url = "1"
bufstream = "~0.1"
fnv = "1"
twox-hash = "1"
net2 = "~0.2"
smallvec = "0.4"
serde = "1"
serde_json = "1"
mysql_common = { version = "0.5", optional = true }
[dependencies.rustc-serialize]
version = "0.3"
optional = true
[dependencies.regex]
version = "~0.2"
default-features = false
[dependencies.openssl]
version = "~0.9"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.security-framework]
version = "~0.1"
optional = true
features = ["OSX_10_8"]
[target.'cfg(target_os = "windows")'.dependencies]
named_pipe = "~0.3"
winapi = "~0.2"
ws2_32-sys = "~0.2"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
nix = "0.9"