remove rustls dependency
This commit is contained in:
@@ -25,7 +25,6 @@ hyper = { workspace = true }
|
||||
hyper-util = { workspace = true }
|
||||
jsonrpsee = { workspace = true }
|
||||
reqwest = { workspace = true }
|
||||
rustls = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
syslog_rfc5424 = { workspace = true }
|
||||
|
||||
@@ -4,13 +4,6 @@ use tracing::info;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
|
||||
pub fn init_logging() {
|
||||
// Install rustls crypto provider before any TLS connections are made.
|
||||
// This is needed because we have both aws-lc-rs and ring in our dependency tree,
|
||||
// and rustls 0.23 can't auto-detect which one to use when both are present.
|
||||
rustls::crypto::aws_lc_rs::default_provider()
|
||||
.install_default()
|
||||
.expect("Failed to install rustls crypto provider");
|
||||
|
||||
// Build a default tracing subscriber, writing to STDERR
|
||||
// Uses RUST_LOG env var for filtering, defaults to "info" if not set
|
||||
tracing_subscriber::fmt()
|
||||
|
||||
Reference in New Issue
Block a user