Skip to content

Commit

Permalink
fix: Fix openssl dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Sep 29, 2023
1 parent d00daef commit 05d4e4d
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
fail-fast: false
matrix:
settings:
- host: macos-latest
target: x86_64-apple-darwin
jsPackageHome: packages/cohort_sdk_js
finalPackageName: packages/cohort_sdk_js/cohort_sdk_js.darwin-x64.node
customiseHostCommand: echo 'No customizations are needed'
buildCommand: npm run build -- --target x86_64-apple-darwin
# - host: macos-latest
# target: x86_64-apple-darwin
# jsPackageHome: packages/cohort_sdk_js
# finalPackageName: packages/cohort_sdk_js/cohort_sdk_js.darwin-x64.node
# customiseHostCommand: echo 'No customizations are needed'
# buildCommand: npm run build -- --target x86_64-apple-darwin

- host: macos-latest
target: aarch64-apple-darwin
Expand Down
59 changes: 58 additions & 1 deletion Cargo.lock

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

5 changes: 5 additions & 0 deletions examples/agent_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ async-trait = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
rand = { version = "0.8.5" }

rdkafka = { version = "0.34.0", features = ["sasl"] }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "gssapi-vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
openssl = { version = "0.10", features = ["vendored"] }

serde = { workspace = true }
serde_json = { workspace = true }
strum = { version = "0.25", features = ["derive"] }
Expand Down
5 changes: 5 additions & 0 deletions examples/cohort_banking_with_sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ opentelemetry-stdout = { version = "0.1.0", features = ["metrics"] }
opentelemetry_sdk = { version = "0.20.0", features = ["metrics", "rt-tokio"] }
opentelemetry = { version = "0.20.0", features = ["metrics"] }
rand = { version = "0.8.5" }

rdkafka = { version = "0.34.0" }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "gssapi-vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
openssl = { version = "0.10", features = ["vendored"] }

rust_decimal = { version = "1.30.0", features = ["db-tokio-postgres", "serde-with-float"] }
time = { version = "0.3.17" }
tokio-postgres = { version = "0.7", features = [ "with-uuid-1", "with-serde_json-1" ] }
Expand Down
7 changes: 5 additions & 2 deletions examples/cohort_replicator_kafka_pg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["full"] }

rdkafka = { version = "0.34.0", features = ["sasl"] }
rdkafka-sys = { version = "4.3.0" }
rdkafka = { version = "0.34.0", features = ["sasl"] }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "gssapi-vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
openssl = { version = "0.10", features = ["vendored"] }

rust_decimal = { version = "1.30.0", features = ["db-tokio-postgres", "serde-with-float"] }
time = { version = "0.3.17" }
tokio-postgres = { version = "0.7", features = [ "with-uuid-1", "with-serde_json-1" ] }
Expand Down
7 changes: 4 additions & 3 deletions packages/cohort_sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ opentelemetry_api = { version = "0.20.0" }
opentelemetry_sdk = { version = "0.20.0", features = ["metrics", "rt-tokio"] }
opentelemetry = { version = "0.20.0" }
rand = { version = "0.8.5" }

rdkafka = { version = "0.34.0", features = ["sasl"] }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "gssapi-vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
sasl2-sys = { version = "0.1", features = ["vendored"] }
#openssl = { version = "0.10.57" }
#sasl2-sys = { version = "0.1.20", features = ["vendored", "openssl-vendored"] }
openssl = { version = "0.10", features = ["vendored"] }

serde = { workspace = true }
serde_json = { workspace = true }
strum = { version = "0.25", features = ["derive"] }
Expand Down
5 changes: 5 additions & 0 deletions packages/talos_agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ async-trait = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
multimap = { version = "0.9.0" }

rdkafka = { version = "0.34.0", features = ["sasl"] }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "gssapi-vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
openssl = { version = "0.10", features = ["vendored"] }

serde = { workspace = true }
serde_json = { workspace = true }
strum = { version = "0.25", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions packages/talos_certifier_adapters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ async-trait = { workspace = true }
futures-util = "0.3.21"
# Kafka
rdkafka = { version = "0.34.0", features = ["sasl"] }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "libz-static", "gssapi-vendored"] }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "gssapi-vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
#sasl2-sys = { version = "0.1", features = ["vendored"] }
openssl = { version = "0.10", features = ["vendored"] }

# uuid
uuid = { version = "1.4.1", features = ["v4"] }
Expand Down
3 changes: 3 additions & 0 deletions packages/talos_rdkafka_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ mockall = "0.11.0"
thiserror = "1.0.31"

rdkafka = { version = "0.34.0", features = ["sasl"] }
rdkafka-sys = { version = "4.6.0", features = ["ssl-vendored", "gssapi-vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
openssl = { version = "0.10", features = ["vendored"] }

[dev-dependencies]
tokio-test = "0.4"
Expand Down

0 comments on commit 05d4e4d

Please sign in to comment.