1 2 3 4 5 6 7
#![cfg_attr(feature = "fail-on-warnings", deny(warnings))] use std::sync::LazyLock; use tokio_util::sync::CancellationToken; pub static CANCELLATION_TOKEN: LazyLock<CancellationToken> = LazyLock::new(CancellationToken::new);