Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Formula/ethrex.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Ethrex < Formula
desc "Minimalist, fast and modular implementation of the Ethereum protocol in Rust"
homepage "https://docs.ethrex.xyz/"
Expand All @@ -17,6 +17,15 @@

depends_on "rustup" => :build

on_linux do
# `reqwest` pulls in `native-tls`, which is backed by OpenSSL on Linux.
# `openssl-sys` locates it through `pkg-config`, so both the tool and the
# keg have to be declared for `PKG_CONFIG_PATH` to point at `openssl.pc`.
# macOS needs neither: there `native-tls` uses Security.framework.
depends_on "pkgconf" => :build
depends_on "openssl@3"

Check warning on line 26 in Formula/ethrex.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-24.04)

ethrex: new dependency impact

Adding `openssl@3` adds 2 new recursive dependencies on x86_64_linux (42.6MB).
end

def install
system "rustup", "toolchain", "install", "1.93"
system "cargo", "install", *std_cargo_args(path: "cmd/ethrex")
Expand Down
Loading