Rocket/examples
Sergio Benitez 12308b403f Add '#[rocket::launch]' attribute.
The attribute is applied everywhere it can be across the codebase and is
the newly preferred method for launching an application. This commit
also makes '#[rocket::main]` stricter by warning when it is applied to
functions other than 'main'.
2020-07-11 09:24:29 -07:00
..
config Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
content_types Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
cookies Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
errors Add '#[rocket::main]' attribute and make 'launch()' an 'async fn'. 2020-07-11 09:24:29 -07:00
fairings Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
form_kitchen_sink Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
form_validation Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
handlebars_templates Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
hello_2018 Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
hello_person Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
hello_world Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
json Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
managed_queue Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
manual_routes Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
msgpack Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
optional_redirect Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
pastebin Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
query_params Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
ranking Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
raw_sqlite Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
raw_upload Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
redirect Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
request_guard Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
request_local_state Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
session Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
state Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
static_files Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
stream Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
tera_templates Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
testing Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
tls Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
todo Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
uuid Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00