Add explanation of crate in readme

This commit is contained in:
Fabian Schmidt 2025-03-10 12:24:08 +01:00
parent ab7491e31b
commit 8c2b70c8cf

5
Readme.md Normal file
View File

@ -0,0 +1,5 @@
# The goal
The goal of this crate is to find a way to annotate functions with an attribute macro like `#[get("/")]` and have it automatically added in a global registry.
Actix for example still requires you to register all functions annotated in such a way with the service method, I don't need to do that in Spring Boot applications, I just use the necessary annotations.
This crate might not actually end up presenting a solution, but rather document why it's not possible to do so, only time will tell.