-
Notifications
You must be signed in to change notification settings - Fork 121
/
Cargo.toml
102 lines (86 loc) · 2.16 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
[package]
name = "clickhouse-rs"
version = "1.1.0-alpha.1"
authors = ["Mikhail Sukharev <suharev7@gmail.com>"]
license = "MIT"
homepage = "https://github.com/suharev7/clickhouse-rs"
repository = "https://github.com/suharev7/clickhouse-rs"
description = "Asynchronous Yandex ClickHouse client library."
documentation = "https://docs.rs/clickhouse-rs/"
readme = "README.md"
keywords = ["tokio", "database", "clickhouse"]
categories = ["database"]
edition = "2021"
exclude = ["tests/*", "examples/*"]
[features]
default = ["tokio_io"]
_tls = [] # meta feature for the clickhouse-rs generic TLS code
tls = ["tls-native-tls"] # backward compatibility
tls-native-tls = ["tokio-native-tls", "native-tls", "_tls"]
tls-rustls = ["tokio-rustls", "rustls", "rustls-pemfile", "webpki-roots", "_tls"]
async_std = ["async-std"]
tokio_io = ["tokio"]
[dependencies]
byteorder = "^1.4"
chrono-tz = "^0.8"
crossbeam = "^0.8"
thiserror = "^1.0"
futures-core = "^0.3"
futures-sink = "^0.3"
hostname = "^0.3"
lazy_static = "1.4.0"
lz4 = "^1.24"
pin-project = "^1.1"
url = "^2"
uuid = "^1.4"
combine = "^4.6"
percent-encoding = "^2.3"
either = "^1.6"
cfg-if = "1.0.0"
[dependencies.futures-util]
version = "^0.3"
features = ["sink"]
[dependencies.tokio]
version = "^1.32"
default-features = false
features = ["io-util", "time", "net", "sync", "rt-multi-thread"]
optional = true
[dependencies.async-std]
version = "1.6"
optional = true
[dependencies.clickhouse-rs-cityhash-sys]
path = "clickhouse-rs-cityhash-sys"
version = "0.1.2"
[dependencies.log]
version = "0.4.8"
features = ["std", "serde"]
[dependencies.native-tls]
version = "0.2"
optional = true
[dependencies.tokio-native-tls]
version = "^0.3"
optional = true
[dependencies.rustls]
version = "0.22.1"
optional = true
[dependencies.rustls-pemfile]
version = "2.0"
optional = true
[dependencies.tokio-rustls]
version = "0.25.0"
optional = true
[dependencies.webpki-roots]
version = "*"
optional = true
[dependencies.chrono]
version = "^0.4"
default-features = false
features = ["std"]
[dev-dependencies]
env_logger = "^0.10"
pretty_assertions = "1.3.0"
rand = "^0.8"
[dev-dependencies.tokio]
version = "^1.32"
default-features = false
features = ["macros"]