yellowstone-grpc/yellowstone-grpc-tools/Cargo.toml

63 lines
2.1 KiB
TOML

[package]
name = "yellowstone-grpc-tools"
version = "1.0.0-rc.10+solana.1.17.28"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Tools"
homepage = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
keywords = { workspace = true }
publish = false
[[bin]]
name = "grpc-google-pubsub"
required-features = ["google-pubsub"]
[[bin]]
name = "grpc-kafka"
required-features = ["kafka"]
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
atty = { workspace = true }
clap = { workspace = true, features = ["derive"] }
const-hex = { workspace = true, optional = true }
futures = { workspace = true }
google-cloud-googleapis = { workspace = true, optional = true }
google-cloud-pubsub = { workspace = true, optional = true }
hyper = { workspace = true }
json5 = { workspace = true }
lazy_static = { workspace = true }
prometheus = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
sha2 = { workspace = true, optional = true }
tokio = { workspace = true, features = ["signal"] }
tokio-stream = { workspace = true }
tonic = { workspace = true, features = ["gzip"] }
tonic-health = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
yellowstone-grpc-client = { workspace = true }
yellowstone-grpc-proto = { workspace = true }
[target.'cfg(not(all(target_os = "macos", target_arch = "aarch64")))'.dependencies]
rdkafka = { workspace = true, features = ["sasl", "ssl"], optional = true }
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies]
rdkafka = { workspace = true, features = ["sasl", "ssl-vendored"], optional = true }
[build-dependencies]
anyhow = { workspace = true }
cargo-lock = { workspace = true }
git-version = { workspace = true }
vergen = { workspace = true, features = ["build", "rustc"] }
[features]
default = ["google-pubsub", "kafka"]
google-pubsub = ["google-cloud-googleapis", "google-cloud-pubsub"]
kafka = ["const-hex", "rdkafka", "sha2"]