Rocket/lib
Lukas Kalbertodt 329711db3b Use 'debug_struct' to improve 'Config' 'Debug' impl.
Using the method `debug_struct()` of `fmt::Formatter` takes care of
the exact formatting for us. Additionally, it also handles the
"alternate" form of printing enabled with '#'. In the struct case it
prints the struct on multiple lines instead of just one.

This commit also changes the output slightly. Before, the field
`log_level` was printed with `log: {}`. This commit replaces "log"
with "log_level". Additionally, the value of `environment` is now
printed as a struct field instead of being combined with the struct
name.
2017-09-07 11:18:47 -07:00
..
benches Fix benchmarks to use 'route.uri' instead of 'route.path'. 2017-06-18 02:07:13 -07:00
src Use 'debug_struct' to improve 'Config' 'Debug' impl. 2017-09-07 11:18:47 -07:00
tests Add regression test for issue #345. 2017-07-14 09:54:11 -07:00
build.rs Restrict compilation to rustc >= 2017-07-09. 2017-07-09 22:34:29 -07:00
Cargo.toml Add 'Config::root_relative()'. Make TLS config paths root-relative. 2017-09-04 19:01:26 -07:00