(If you care, "brew deps <package> --tree" will tell you.)
eza
└── libgit2
├── libssh2 │ └── openssl@3 │ └── ca-certificates └── openssl@3 └── ca-certificates
$ brew deps --include-build eza autoconf automake ca-certificates cabal-install certifi cmake ghc ghc@9.8 libgit2 libssh2 llvm@18 lz4 m4 mpdecimal ninja openssl@3 pandoc pkg-config python@3.11 python@3.12 readline rust sphinx-doc sqlite xz zstd
There's (generally) 4 types of dependencies:
- Toolchains (frameworks, compilers) - Build (headers and libraries) - Runtime (libraries) - Test (frameworks, headers, libraries)
(If you care, "brew deps <package> --tree" will tell you.)