Rocket/examples
Sergio Benitez 1516ca4fb6 Initial TLS support.
This commit introduces TLS support, provided by `rustls` and a fork of
`hyper-rustls`. TLS support is enabled via the `tls` feature and
activated when the `tls` configuration parameter is set. A new
`hello_tls` example illustrates its usage.

This commit also introduces more robust and complete configuration
settings via environment variables. In particular, quoted string,
array, and table (dictionaries) based configuration parameters can now
be set via environment variables.

Resolves #28.
2017-04-13 00:18:31 -07:00
..
config Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
content_types Initial implementation of content negotiation via `Accept`. 2017-03-29 04:08:53 -07:00
cookies Allow form field renaming via #[form(field = "name")] attribute. 2017-04-03 19:06:30 -07:00
errors Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
extended_validation Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
form_kitchen_sink Allow form field renaming via #[form(field = "name")] attribute. 2017-04-03 19:06:30 -07:00
forms Use the `RawStr` type for all form raw strings. 2017-03-30 23:06:53 -07:00
from_request Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
handlebars_templates Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
hello_alt_methods Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
hello_person Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
hello_ranks Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
hello_tls Initial TLS support. 2017-04-13 00:18:31 -07:00
hello_world Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
json Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
manual_routes Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
msgpack Check msgpack example version to 0.0.0. 2017-03-08 17:56:08 -08:00
optional_redirect Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
optional_result Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
pastebin Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00
query_params Use the `RawStr` type for all form raw strings. 2017-03-30 23:06:53 -07:00
raw_sqlite Update diesel and rusqlite example dependencies. 2017-03-30 02:02:09 -07:00
raw_upload Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
redirect Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
session Allow form field renaming via #[form(field = "name")] attribute. 2017-04-03 19:06:30 -07:00
state Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
static_files A route with unspecified query parameters accepts any. 2017-03-27 03:52:26 -07:00
stream Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
testing Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
todo Return 404 on missing static file in todo example. 2017-04-12 02:58:45 -07:00
uuid Ensure no files have trailing whitespace. 2017-03-15 19:26:15 -07:00