Skip to main content

karbon_framework/
lib.rs

1pub mod config;
2pub mod db;
3pub mod error;
4pub mod http;
5pub mod security;
6pub mod validation;
7pub mod cache;
8pub mod logger;
9pub mod mail;
10pub mod storage;
11pub mod util;
12pub mod event;
13pub mod job;
14pub mod i18n;
15pub mod testing;
16pub mod channel;
17pub mod feature;
18pub mod inertia;
19pub mod livewire;
20pub mod hmr;
21#[cfg(feature = "templates")]
22pub mod template;
23#[cfg(feature = "studio")]
24pub mod studio;
25
26// Re-exports for convenience
27pub use http::{App, AppState};
28pub use db::Database;
29pub use error::{AppError, AppResult};
30pub use channel::ChannelRegistry;
31pub use feature::FeatureFlags;
32
33// Re-export macros
34pub use karbon_macros::{controller, get, post, put, delete, patch, require_role};
35pub use karbon_macros::{Insertable, Updatable};