Rocket/core/http
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
..
src Remove 'Config::profile()'. CFG 'secret_key' field. 2021-03-09 21:40:53 -08:00
Cargo.toml Remove 'Config::profile()'. CFG 'secret_key' field. 2021-03-09 21:40:53 -08:00