bloom-web 0.1.3

A lightweight backend framework combining Actix-Web, SQLx, and declarative macros for rapid API development
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.");
}