We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c476216 commit 5ba7811Copy full SHA for 5ba7811
batcher/aligned-batcher/src/main.rs
@@ -4,6 +4,7 @@ use std::path::PathBuf;
4
use std::sync::Arc;
5
use clap::Parser;
6
use env_logger::Env;
7
+use rustls::crypto::{CryptoProvider, aws_lc_rs};
8
9
use aligned_batcher::{types::errors::BatcherError, Batcher};
10
@@ -34,6 +35,9 @@ struct Cli {
34
35
36
#[tokio::main]
37
async fn main() -> Result<(), BatcherError> {
38
+ CryptoProvider::install_default(aws_lc_rs::default_provider())
39
+ .expect("failed to initialize crypto provider");
40
+
41
let cli = Cli::parse();
42
let port = cli.port.unwrap_or(8080);
43
0 commit comments