Skip to content

Commit

Permalink
tools: fixes openssl link problem (macos+aarch64) (#236)
Browse files Browse the repository at this point in the history
building the rdkafka crate fails on mac per default configuration
see fede1024/rust-rdkafka#491
  • Loading branch information
grooviegermanikus committed Nov 15, 2023
1 parent 9735b6d commit 9ecf8d2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion yellowstone-grpc-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ hyper = { version = "0.14.27", features = ["server"] }
json5 = "0.4.1"
lazy_static = "1.4.0"
prometheus = "0.13.2"
rdkafka = { version = "0.34.0", features = ["ssl", "sasl"] }
serde = { version = "1.0.145", features = ["derive"] }
serde_json = "1.0.86"
serde_yaml = "0.9.25"
Expand All @@ -37,6 +36,12 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
yellowstone-grpc-client = { path = "../yellowstone-grpc-client" }
yellowstone-grpc-proto = { path = "../yellowstone-grpc-proto" }

[target.'cfg(not(all(target_os = "macos", target_arch = "aarch64")))'.dependencies]
rdkafka = { version = "0.34.0", features = ["ssl", "sasl"] }

[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies]
rdkafka = { version = "0.34.0", features = ["ssl-vendored", "sasl"] }

[build-dependencies]
anyhow = "1.0.62"
cargo-lock = "9.0.0"
Expand Down

0 comments on commit 9ecf8d2

Please sign in to comment.