meritocrab_api/lib.rs
1pub mod admin_handlers;
2pub mod auth_middleware;
3pub mod credit_commands;
4pub mod error;
5pub mod extractors;
6pub mod health;
7pub mod oauth;
8pub mod rate_limit;
9pub mod repo_config_loader;
10pub mod state;
11pub mod webhook_handler;
12
13// Re-export commonly used types
14pub use error::{ApiError, ApiResult, ErrorResponse};
15pub use extractors::VerifiedWebhookPayload;
16pub use health::{health, init_server_start_time};
17pub use state::{AppState, OAuthConfig};
18pub use webhook_handler::handle_webhook;