forked from broxus/ton-kafka-producer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
85 lines (76 loc) · 2.32 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
[package]
name = "ton-kafka-producer"
version = "0.4.0"
edition = "2021"
rust-version = "1.73.0"
license-file = "LICENSE"
authors = ["Broxus team"]
[dependencies]
anyhow = "1.0"
argh = "0.1"
async-trait = "0.1"
broxus-util = { version = "0.2", features = [
"argh",
"alloc",
"alloc-profiling",
"public-ip",
"signal",
"config",
"metrics",
], default-features = false }
bytes = "1.2.1"
chrono = "0.4.22"
config = { version = "0.13", default-features = false, features = ["yaml"] }
countme = { version = "3.0.0", features = ["enable"] }
everscale-rpc-server = { git = "https://github.com/broxus/everscale-jrpc.git", default-features = false }
everscale-network = "0.5"
futures-util = "0.3"
hex = "0.4"
indicatif = "0.17"
once_cell = "1.14"
rand = "0.8"
rdkafka = { version = "0.36.2", features = ["ssl-vendored", "tokio"] }
rustc-hash = "1.1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1", features = ["full", "parking_lot"] }
# TON specific dependencies
ton_block = { git = "https://github.com/broxus/ton-labs-block" }
ton-block-compressor = { git = "https://github.com/broxus/ton-block-compressor.git" }
ton_types = { git = "https://github.com/broxus/ton-labs-types" }
ton_block_json = { git = "https://github.com/broxus/ton-labs-block-json", rev = "f4f6581d2306e99fc44404982a9038bd1e0d8dc1" }
ton-indexer = { git = "https://github.com/broxus/ton-indexer.git", features = [
"count-cells",
"archive-uploader",
] }
archive-downloader = { git = "https://github.com/broxus/ton-indexer.git" }
tracing = "0.1.34"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
bytesize = "1.2.0"
metrics-exporter-prometheus = "0.13.0"
[dev-dependencies]
cargo-husky = { version = "1", features = [
"run-cargo-clippy",
"run-cargo-fmt",
] }
[features]
default = ["sasl", "ssl"]
sasl = ["rdkafka/sasl"]
ssl = ["rdkafka/ssl"]
venom = ["ton_block/venom", "ton-indexer/venom"]
ton = ["ton_block/ton", "ton-indexer/ton"]
[package.metadata.deb]
depends = "libstdc++6[amd64]"
section = "utility"
assets = [
[
"target/release/ton-kafka-producer",
"/usr/local/bin/ton-kafka-producer",
"755",
],
]
conf-files = ["/etc/ton-kafka-producer/"]
maintainer-scripts = "contrib/"
[package.metadata.deb.systemd-units]
unit-scripts = "contrib/"