While the macro was fancy and all, it started to become more problematic than helpful. Especially now, when routers doesn't have to have the classic method+path mapping. This builder system has more or less the same benefits as the macro, but it's extensible.
This is a breaking change, since it removes insert_routes! and a number of types that were used when building routers.
While the macro was fancy and all, it started to become more problematic than helpful. Especially now, when routers doesn't have to have the classic method+path mapping. This builder system has more or less the same benefits as the macro, but it's extensible.
This is a breaking change, since it removes
insert_routes!
and a number of types that were used when building routers.