Skip to content

Upgrading config 0.6 to 0.7

Breaking0.6.0 → 0.7.1Breaking1New3Fixed2

BreakingUpgrade verdict

1 breaking change.

  • The old way of collecting errors at the end of a chain is gone. You now handle errors after each merge call, and either bind the starting Config to a variable or finish with try_into.
1 item needs code or config changes

Adds chrono ^0.4, serde-hjson ^0.8.1.

Installs 60 packages in all (was 22).

Breaking1
Removes ConfigResult; the builder pattern now requires .try_into as the final step or binding the initial Config::new() to a slot, and errors must be handled on each call.
ConfigResultConfig::new()try_into()