Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions crates/buzz-pairing-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ hex = { workspace = true }
clap = { version = "4", features = ["derive", "env"] }
thiserror = { workspace = true }
zeroize = { workspace = true }

# Explicit provider selection is required when workspace feature unification
# compiles both rustls providers into the standalone pairing binary.
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
4 changes: 4 additions & 0 deletions crates/buzz-pairing-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ enum CliError {

#[tokio::main]
async fn main() {
// Workspace feature unification can compile both rustls providers. Choose
// one before the first WSS connection so rustls does not panic at runtime.
let _ = rustls::crypto::ring::default_provider().install_default();

let cli = Cli::parse();
if let Err(e) = run(cli.command).await {
eprintln!("error: {e}");
Expand Down
Loading