-
Notifications
You must be signed in to change notification settings - Fork 36
/
Cargo.toml
106 lines (92 loc) · 2.71 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
[package]
name = "rskafka"
version = "0.5.0"
edition = "2021"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = [
"api",
"async",
"kafka",
"protocol",
]
categories = ["api-bindings"]
description = " A minimal Rust client for Apache Kafka "
repository = "https://github.com/influxdata/rskafka/"
documentation = "https://docs.rs/rskafka/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-socks5 = { version = "0.6", optional = true }
bytes = "1.1"
chrono = { version = "0.4", default-features = false }
crc32c = "0.6.5"
flate2 = { version = "1", optional = true }
futures = "0.3"
integer-encoding = "4"
lz4 = { version = "1.23", optional = true }
parking_lot = "0.12"
rand = "0.8"
rustls = { version = "0.23", optional = true, default-features = false, features = ["logging", "ring", "std", "tls12"] }
snap = { version = "1", optional = true }
thiserror = "1.0"
tokio = { version = "1.19", default-features = false, features = ["io-util", "net", "rt", "sync", "time", "macros"] }
tokio-rustls = { version = "0.26", optional = true, default-features = false, features = ["logging", "ring", "tls12"] }
tracing = "0.1"
zstd = { version = "0.13", optional = true }
rsasl = { version = "2.1", default-features = false, features = ["config_builder", "provider", "plain", "scram-sha-2"]}
[dev-dependencies]
assert_matches = "1.5"
criterion = { version = "0.5", features = ["async_tokio"] }
dotenvy = "0.15.1"
futures = "0.3"
j4rs = "0.20.0"
proptest = "1"
proptest-derive = "0.5"
rustls-pemfile = "2.0"
rdkafka = { version = "0.35", default-features = false, features = ["libz", "tokio", "zstd"] }
tokio = { version = "1.14", features = ["macros", "rt-multi-thread"] }
tracing-log = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1.0", features = ["v4"] }
[features]
default = [
"compression-gzip",
"compression-lz4",
"compression-snappy",
"compression-zstd",
]
full = [
"compression-gzip",
"compression-lz4",
"compression-snappy",
"compression-zstd",
"transport-socks5",
"transport-tls",
]
compression-gzip = ["flate2"]
compression-lz4 = ["lz4"]
compression-snappy = ["snap"]
compression-zstd = ["zstd"]
transport-socks5 = ["async-socks5"]
transport-tls = ["rustls", "tokio-rustls"]
unstable-fuzzing = []
[lib]
# For `cargo bench -- --save-baseline ...`
# See https://github.com/bheisler/criterion.rs/issues/275.
bench = false
[[bench]]
name = "throughput"
harness = false
[workspace]
members = [
".",
"fuzz",
]
[profile.bench]
debug = true
# tune release profile for fuzzing
[profile.release]
debug = true
[package.metadata.docs.rs]
all-features = true