]> piware.de Git - learn-rust.git/commitdiff
actix-server: Factorize App creation
authorMartin Pitt <martin@piware.de>
Tue, 13 Dec 2022 13:29:05 +0000 (14:29 +0100)
committerMartin Pitt <martin@piware.de>
Tue, 13 Dec 2022 13:29:05 +0000 (14:29 +0100)
This is too hard as a proper function, as App is too template-y. Use a
macro instead.

Thanks to Aravinth Manivannan for the suggestion!


No differences found