Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-oracle committed Nov 21, 2024
1 parent 526d34d commit 2dd6836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"

[dependencies]
ahash = "0.8.11"
anyhow = "1.0.92"
anyhow = "1.0.93"
arc-swap = "1.7.1"
async-trait = "0.1.83"
axum = "0.7.7"
Expand Down Expand Up @@ -76,7 +76,7 @@ strum = { version = "0.26.3", features = ["derive"] }
strum_macros = "0.26.4"
sync_wrapper = "1.0.1"
systemstat = "0.2.3"
thiserror = "1.0.68"
thiserror = "2.0.3"
tokio = { version = "1.41.0", features = ["full"] }
tokio-util = { version = "0.7.12", features = ["full"] }
tokio-rustls = { version = "0.26.0", default-features = false, features = [
Expand Down
4 changes: 2 additions & 2 deletions src/tls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use rustls::{
crypto::ring,
server::{ClientHello, ResolvesServerCert},
sign::CertifiedKey,
ClientConfig, ServerConfig, SupportedProtocolVersion, TicketSwitcher,
ClientConfig, ServerConfig, SupportedProtocolVersion, TicketRotator,
};
use rustls_platform_verifier::Verifier;
use std::{
Expand Down Expand Up @@ -174,7 +174,7 @@ pub fn prepare_server_config(
// while keeping the previous one available for decryption of tickets
// issued earlier than `ticket_lifetime` ago.
let ticketer = tickets::WithMetrics(
TicketSwitcher::new(opts.ticket_lifetime.as_secs() as u32, move || {
TicketRotator::new(opts.ticket_lifetime.as_secs() as u32, move || {
Ok(Box::new(tickets::Ticketer::new()))
})
.unwrap(),
Expand Down

0 comments on commit 2dd6836

Please sign in to comment.