Add support for api/ folder (#129)

* feat: detect api/ folder from tuono CLI

* feat: prevent adding the API in the data endpoints list

* feat: create basic API handler proc macro

* feat: parse api/ and build .tuono/main.rs file

* chore: remove unused cargo dependencies

* refactor: tuono base health_check

* fix: remove failing test

* feat: update version to v0.14.0
This commit is contained in:
Valerio Ageno
2024-11-21 19:02:11 +01:00
committed by GitHub
parent 3a4e7398c6
commit 087813fab9
16 changed files with 245 additions and 73 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ pub use payload::Payload;
pub use request::Request;
pub use response::{Props, Response};
pub use server::Server;
pub use tuono_lib_macros::handler;
pub use tuono_lib_macros::{api, handler};
// Re-exports
pub use axum;