use bloom_web::prelude::*;
#[derive(Entity, Serialize, Deserialize, FromRow)]
#[table("test_users")]
pub struct TestUser {
#[id]
pub id: i32,
#[column("username")]
pub username: String,
#[column("email")]
pub email: String,
}
#[get("/test")]
async fn test_endpoint() -> HttpResponse {
HttpResponse::Ok().json("Framework is working!")
}
fn main() {
println!("Bloom Web Framework test compiled successfully!");
println!("All dependencies are properly accessible.");
}