-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (43 loc) · 1.52 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
[package]
name = "kafka-rocksdb"
version = "0.2.26"
authors = ["Michael Krolikowski <mkroli@yahoo.de>"]
edition = "2021"
[profile.release]
strip = "symbols"
opt-level = 's'
lto = true
panic = "abort"
codegen-units = 1
[features]
schema_registry = ["apache-avro", "schema_registry_converter"]
[[example]]
name = "dump_db"
required-features = ["schema_registry"]
[[example]]
name = "producer"
required-features = ["schema_registry"]
[dependencies]
anyhow = "1"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal"] }
futures = "0.3"
log = "0.4"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
fern = "0.7"
clap = { version = "4", features = ["derive"] }
config = "0.15"
rdkafka = { version = "0.37", features = ["tokio", "cmake-build"] } # TODO: ssl
pin-project = "1"
rocksdb = { version = "0.23", default-features = false, features = ["snappy", "bindgen-runtime"] }
hex-slice = "0.1"
prometheus = "0.13"
lazy_static = "1"
prometheus-static-metric = "0.5"
hyper = { version = "1", features = ["server", "http1", "http2"] }
axum = { version = "0.8", default-features = false, features = ["tokio", "http1", "http2"] }
axum-extra = { version = "0.10", default-features = false, features = ["typed-header"] }
apache-avro = { version = "0.17", optional = true }
schema_registry_converter = { version = "4", default-features = false, features = ["avro", "blocking"], optional = true }
[dev-dependencies]
reqwest = { version = "0.12", features = ["blocking"] }