camel_bean/lib.rs
1//! Bean component for rust-camel — register and invoke named beans as route processors.
2//!
3//! Main types: `BeanRegistry`, `BeanProcessor`. Main modules: `error`, `processor`, `registry`.
4
5mod error;
6mod processor;
7mod registry;
8
9pub use error::BeanError;
10pub use processor::BeanProcessor;
11pub use registry::BeanRegistry;
12
13// Re-export for macro users
14pub use async_trait::async_trait;
15pub use camel_bean_macros::{Bean, bean_impl, handler};