use std::sync::{Arc, LazyLock};
use quinn::Runtime;
use rustls::crypto::aws_lc_rs::cipher_suite::TLS13_AES_128_GCM_SHA256;
use rustls::SupportedCipherSuite;
pub const QUIC_MTU_OVERHEAD: u16 = 50;
pub const PACKET_BUFFER_SIZE: usize = 4;
pub const PACKET_CHANNEL_SIZE: usize = 1024 * 1024;
pub static TLS_PROTOCOL_VERSIONS: &[&rustls::SupportedProtocolVersion] = &[&rustls::version::TLS13];
pub static TLS_ALPN_PROTOCOLS: LazyLock<Vec<Vec<u8>>> = LazyLock::new(|| vec![b"quincy".to_vec()]);
pub static TLS_INITIAL_CIPHER_SUITE: SupportedCipherSuite = TLS13_AES_128_GCM_SHA256;
pub static QUINN_RUNTIME: LazyLock<Arc<dyn Runtime>> =
LazyLock::new(|| Arc::new(quinn::TokioRuntime));