Skip to content

Commit

Permalink
fix: Specify default rust crypto provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed Aug 30, 2024
1 parent 78f1a68 commit d1d0ecd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ hyper-util = "0.1.7"
tap = "1.0.1"
reqwest = { version = "=0.12.7", default-features = false, features = ["json", "rustls-tls"] }
nondestructive = "0.0.25"
rustls = "0.23.12"
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ fn get_output(output_format: OutputFormat) -> Result<(Box<dyn Output>, Sender)>

#[tokio::main]
async fn main() -> Result<()> {
rustls::crypto::aws_lc_rs::default_provider().install_default().expect("Failed to install rustls crypto provider");

let args = Args::parse();

// Extract the bypass_skip_upgrade_on_no_changes and bypass_assume_yes flags if the command is Upgrade
Expand Down

0 comments on commit d1d0ecd

Please sign in to comment.