//! # Access control
//!
//! Here we create an access policy that determines
//! whether access should be granted or denied based on the [`carapax::HandlerInput`].
//!
//! You can implement your own policy using [`carapax::access::AccessPolicy`] trait.
//!
//! After we wrap the [`log_protected`] handler with the [`carapax::access::AccessPredicate`].
//! This ensures that the handler executes only when the access policy grants permission.
//!
//! Note that you need to enable the `access` feature in your `Cargo.toml`.
use ;
async