Rocket/core/lib
Sergio Benitez 83ffe0f7bc Remove 'Config::profile()'. CFG 'secret_key' field.
This commit makes the `Config.secret_key` conditionally compile on the
`secrets` feature. The net effect is simplified internal code, fewer
corner-cases, and easier to write tests.

This commit removes the `Provider::profile()` implementation of
`Config`. This means that the `Config` provider no longer sets a
profile, a likely confusing behavior. The `Config::figment()` continues
to function as before.
2021-03-09 21:40:53 -08:00
..
benches UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
src Remove 'Config::profile()'. CFG 'secret_key' field. 2021-03-09 21:40:53 -08:00
tests Remove 'Config::profile()'. CFG 'secret_key' field. 2021-03-09 21:40:53 -08:00
Cargo.toml Use upstream 'async-trait'. 2021-03-04 22:10:59 -08:00
build.rs Update minimum rustc to 1.46. 2020-10-21 19:56:12 -07:00