Skip to content

plauche/figment-nested-defaults-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is for replicating an issue with Figment (or my usage of Figment).

The issue seems to be related to parsing nested structs and correctly applying the default values to the nested structs. I have defaults created for the top level struct, and the nested structs, but I get parsing errors if the actual nested structs in the config file don't have all fields.

The issue can be replicated by running cargo run -- config.toml.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages