-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
86 lines (76 loc) · 2.77 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
[package]
name = "kafka-proxy"
version = "0.19.4"
edition = "2024"
description = "Service to proxy from various protocols to Kafka"
license = "Apache-2.0"
repository = "https://github.com/mkroli/kafka-proxy"
readme = "README.md"
authors = ["Michael Krolikowski"]
[[bin]]
name = "kafka-proxy-completions"
path = "src/completions.rs"
[package.metadata.cross.build]
env.passthrough = [
"krb5_cv_attr_constructor_destructor=yes",
"ac_cv_func_regcomp=yes",
"ac_cv_printf_positional=yes",
"ac_cv_gssapi_supports_spnego=yes",
"CARGO_TARGET_ARMV7_UNKNOWN_LINUX_MUSLEABIHF_LINKER=/usr/local/musl/bin/armv7-unknown-linux-musleabihf-gcc",
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/usr/local/musl/bin/aarch64-unknown-linux-musl-gcc",
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_LINKER=/usr/local/musl/bin/x86_64-unknown-linux-musl-gcc",
]
xargo = false
[package.metadata.cross.target.x86_64-unknown-linux-musl]
image = "messense/rust-musl-cross:x86_64-musl"
[package.metadata.cross.target.aarch64-unknown-linux-musl]
image = "messense/rust-musl-cross:aarch64-musl"
[package.metadata.cross.target.armv7-unknown-linux-musleabihf]
image = "messense/rust-musl-cross:armv7-musleabihf"
[profile.release]
strip = "symbols"
opt-level = "s"
lto = true
panic = "abort"
codegen-units = 1
[dependencies]
lazy_static = "1"
anyhow = "1"
log = "0.4"
fern = "0.7"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
clap = { version = "4", features = ["derive", "env"] }
clap_complete = "4"
serde = "1"
serde_json = { version = "1", features = ["arbitrary_precision"] }
base64 = "0.22"
uuid = "1"
apache-avro = "0.17"
num-traits = "0.2"
num-bigint = "0.4"
bigdecimal = "0.4"
schema_registry_converter = { version = "4", features = ["avro"] }
rdkafka = { version = "0.37", features = ["cmake-build", "libz-static", "ssl-vendored", "gssapi-vendored"] }
async-trait = "0.1"
futures = "0.3"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "sync", "fs", "net"] }
tokio-stream = { version = "0.1", features = ["sync", "io-util"] }
hyper = { version = "1", default-features = false, 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"] }
coap = { version = "0.20", optional = true }
opentelemetry = "0.29"
opentelemetry_sdk = "0.29"
prometheus = "0.14"
opentelemetry-prometheus = "0.29"
posixmq = { version = "1", optional = true }
nng = { version = "1", optional = true }
[build-dependencies]
openssl-src = { version = "300", features = ["force-engine"] }
[dev-dependencies]
reqwest = "0.12"
[features]
default = ["coap", "posixmq", "nng"]
coap = ["dep:coap"]
posixmq = ["dep:posixmq"]
nng = ["dep:nng"]