Skip to content

Conversation

@Davidson-Souza
Copy link
Member

reqwest pulls in a lot of dependencies, while we only need a very simple http client to make json-rpc requests. It also has ssl by default, using they installed openssl. But openssl can't be statically linked due to licensing, so if we want to build floresta for, e.g. musl, we can't build the cli tool.

This commit replaces reqwest with the jsonrpc crate from rust-bitcoin, reducing the dependencies tree and making it easier to static link floresta

reqwest pulls in a lot of dependencies, while we only need a very simple
http client to make json-rpc requests. It also has ssl by default, using
they installed openssl. But openssl can't be statically linked due to
licensing, so if we want to build floresta for, e.g. musl, we can't
build the cli tool.

This commit replaces reqwest with the jsonrpc crate from rust-bitcoin,
reducing the dependencies tree and making it easier to static link floresta
@Davidson-Souza Davidson-Souza merged commit ad11559 into vinteumorg:master Sep 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant