#![allow(clippy::result_large_err)]
pub mod client;
pub mod config;
pub mod context;
pub mod engine;
pub mod errors;
pub mod output;
pub mod scanner;
#[cfg(feature = "cli")]
pub mod cli;
pub use client::AxumApcore;
pub use config::ApcoreSettings;
pub use context::{ApContext, AxumContextFactory, RequestIdentity};
pub use engine::extensions::{AxumDiscoverer, AxumModuleValidator};
pub use engine::registry::{get_executor, get_registry};
pub use engine::tasks::{TaskInfo, TaskManager};
pub use output::AxumRegistryWriter;
pub use scanner::native::NativeAxumScanner;
pub use scanner::{get_scanner, AxumScanner};
#[cfg(feature = "openapi")]
pub use scanner::openapi::OpenAPIScanner;
pub use apcore::cancel::CancelToken;
pub use apcore::module::{ModuleAnnotations, ModuleExample};
pub use apcore::{
APCore, AlwaysDenyHandler, ApCoreEvent, ApprovalHandler, AutoApproveHandler, Config, Context,
ErrorCode, EventEmitter, Executor, Identity, Module, ModuleError, Registry, SamplingStrategy,
TracingMiddleware, ACL,
};
pub use apcore_toolkit::ScannedModule;