]> git.proxmox.com Git - cargo.git/commit
Auto merge of #8454 - GabrielMajeri:config-option-enum, r=ehuss
authorbors <bors@rust-lang.org>
Tue, 7 Jul 2020 15:51:28 +0000 (15:51 +0000)
committerbors <bors@rust-lang.org>
Tue, 7 Jul 2020 15:51:28 +0000 (15:51 +0000)
commit729e5676a02404b1d745013f8b280945cfa2d50d
tree5919468b5672dcb0ad03bbf7554b4a1e5e764f45
parent548eea773fda4d73209d0833cd7655c97b8f0014
parent65fc4cec8d6d5952f8433c0d16e02a5855a9aaaf
Auto merge of #8454 - GabrielMajeri:config-option-enum, r=ehuss

Add support for deserializing enums in config files

Implements `deserialize_enum` functionality to allow config options which are Rust enums.

@ehuss The code currently has some `todo!`s because I'm not sure how the custom `Deserializer` is supposed to do error handling.

Fixes #8450