// src/lib.rs
pub mod conn;
pub mod error;
pub mod extract;
pub mod http;
pub mod json;
pub mod metrics;
pub mod multipart;
pub mod parser;
pub mod router;
pub mod server;
pub mod slab;
pub mod syscalls;
pub mod timer;
pub mod worker;

// Re-exports for users
pub use error::{ChopinError, ChopinResult};
pub use extract::{FromRequest, Json, Query};
pub use http::{Context, Method, Request, Response};
pub use json::KJson;
pub use router::{RouteDef, Router};
pub use server::{Chopin, Server};

// Re-export for macros
pub use chopin_macros::*;
pub use inventory;
