[BREAKGLASS] Append-only mirror of github.com/mempool/rust-electrum-client
Go to file
merge-script 1372898ff2
Merge bitcoindevkit/rust-electrum-client#171: Install rustls's CryptoProvider based on features
f24458248a Install `rustls`'s `CryptoProvider` based on features (Elias Rohrer)

Pull request description:

  Previously, we'd already assume `use-rustls` to use the default `aws-lc-rs` provider and `use-rustls-ring` to use the `ring` `CryptoProvider`, e.g., for `NoCertificateVerification`.

  However, we **wouldn't** actually install the respective provider based on the features, leading to a **reachable** panic at runtime when user tried to access `ssl://` Electrum servers.

  Here, we fix this omission and install the default provider according to the configured features.

  (cc @oleonardolima @thunderbiscuit)

ACKs for top commit:
  ValuedMammal:
    ACK f24458248a
  oleonardolima:
    ACK f24458248a

Tree-SHA512: b502b97e4162c0dd46e17ccf1c0a0a8461158dbec06833d7d8715072fa4feeb87beb3ee2dd93c594689ef0c2ecd84ed52a4f9309d826bebb95f3c9e57dd933fb
2025-07-23 17:14:44 -04:00
.github/workflows ci: use ubuntu-latest instead of ubuntu-20.04 2025-04-17 17:30:39 -03:00
examples timeout() and socks() don't return Result 2022-09-13 09:27:03 +02:00
src Install rustls's CryptoProvider based on features 2025-07-18 14:04:40 +02:00
.gitignore Release 0.1.0-beta.1 2020-02-06 18:15:22 +01:00
Cargo.toml chore(release): bump version to 0.23.1 2025-04-17 17:30:39 -03:00
CHANGELOG.md chore(release): bump version to 0.23.1 2025-04-17 17:30:39 -03:00
clippy.toml ci(msrv): bump rust MSRV to 1.75 2025-01-20 13:57:25 -03:00
LICENSE Initial commit 2020-02-06 17:54:27 +01:00
README.md ci(msrv): bump rust MSRV to 1.75 2025-01-20 13:57:25 -03:00

rust-electrum-client

Build Status Latest Version MSRV Badge

Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.

Minimum Supported Rust Version (MSRV)

This library should compile with any combination of features with Rust 1.75.0.