forked from AlexPikalov/cdrs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (47 loc) · 1.19 KB
/
Cargo.toml
File metadata and controls
53 lines (47 loc) · 1.19 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
[package]
name = "cdrs"
version = "4.0.0-beta.1"
authors = ["Alex Pikalov <alex.pikalov.khar@gmail.com>"]
edition = "2018"
description = "Cassandra DB driver written in Rust"
documentation = "https://docs.rs/cdrs"
homepage = "https://github.com/AlexPikalov/cdrs"
repository = "https://github.com/AlexPikalov/cdrs"
readme = "./README.md"
keywords = ["cassandra", "driver", "client", "cassandradb", "DB"]
license = "MIT/Apache-2.0"
[features]
default = ["v4"]
ssl = ["openssl"]
rust-tls = ["rustls", "webpki"]
v3 = []
v4 = []
# enable v5 feature when it's actually implemented
# v5 = []
e2e-tests = []
# enables dynamic cluster adjustments basing on status
# changes server events
unstable-dynamic-cluster = []
[dependencies]
byteorder = "1"
log = "0.4.1"
lz4-compress = "=0.1.0"
openssl = { version = "0.10", optional = true }
r2d2 = "0.8.7"
rand = "0.4.1"
snap = "0.2.3"
time = "0.2.16"
uuid = "0.8.1"
webpki = { version = "0.21", optional = true }
[dependencies.rustls]
version = "0.17"
optional = true
default-features = false
[dev-dependencies]
env_logger = "0.4.3"
maplit = "1.0.0"
regex = "0.2.5"
cdrs_helpers_derive = "0.4"
[[example]]
name = "dynamic_cluster"
required-features = ["unstable-dynamic-cluster"]