Previously the depfile option added a new private member to the Config struct - a breaking change which many users complained about. Making the field public, but hiding it from the documentation and excluding it from serde reverts the breakage, while keeping the depfile functionality.
I also considered adding an InternalConfig struct, but this would require breaking changes to at least Config::from_file() and Config::from_root_or_default(), which is a lot more invasive than my PR.
Previously the
depfile
option added a new private member to theConfig
struct - a breaking change which many users complained about. Making the field public, but hiding it from the documentation and excluding it fromserde
reverts the breakage, while keeping the depfile functionality.I also considered adding an
InternalConfig
struct, but this would require breaking changes to at leastConfig::from_file()
andConfig::from_root_or_default()
, which is a lot more invasive than my PR.Closes #908