tools: fixes openssl link problem (macos+aarch64) (#236)
building the rdkafka crate fails on mac per default configuration see https://github.com/fede1024/rust-rdkafka/issues/491
This commit is contained in:
parent
9735b6d07a
commit
9ecf8d2283
|
@ -2437,6 +2437,15 @@ version = "0.1.5"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "openssl-src"
|
||||||
|
version = "300.1.6+3.1.4"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "439fac53e092cd7442a3660c85dde4643ab3b5bd39040912388dcdabf6b88085"
|
||||||
|
dependencies = [
|
||||||
|
"cc",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "openssl-sys"
|
name = "openssl-sys"
|
||||||
version = "0.9.93"
|
version = "0.9.93"
|
||||||
|
@ -2445,6 +2454,7 @@ checksum = "db4d56a4c0478783083cfafcc42493dd4a981d41669da64b4572a2a089b51b1d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cc",
|
"cc",
|
||||||
"libc",
|
"libc",
|
||||||
|
"openssl-src",
|
||||||
"pkg-config",
|
"pkg-config",
|
||||||
"vcpkg",
|
"vcpkg",
|
||||||
]
|
]
|
||||||
|
|
|
@ -23,7 +23,6 @@ hyper = { version = "0.14.27", features = ["server"] }
|
||||||
json5 = "0.4.1"
|
json5 = "0.4.1"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
prometheus = "0.13.2"
|
prometheus = "0.13.2"
|
||||||
rdkafka = { version = "0.34.0", features = ["ssl", "sasl"] }
|
|
||||||
serde = { version = "1.0.145", features = ["derive"] }
|
serde = { version = "1.0.145", features = ["derive"] }
|
||||||
serde_json = "1.0.86"
|
serde_json = "1.0.86"
|
||||||
serde_yaml = "0.9.25"
|
serde_yaml = "0.9.25"
|
||||||
|
@ -37,6 +36,12 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
||||||
yellowstone-grpc-client = { path = "../yellowstone-grpc-client" }
|
yellowstone-grpc-client = { path = "../yellowstone-grpc-client" }
|
||||||
yellowstone-grpc-proto = { path = "../yellowstone-grpc-proto" }
|
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]
|
[build-dependencies]
|
||||||
anyhow = "1.0.62"
|
anyhow = "1.0.62"
|
||||||
cargo-lock = "9.0.0"
|
cargo-lock = "9.0.0"
|
||||||
|
|
Loading…
Reference in New Issue