figment_string
Forces data parsed by a figment::Provider to be parsed as a string. See this GitHub issue and the figment::Providers::Env documentation for some background.
Ever see this error?
% env NAME=8080 cargo run
Error: invalid type: found unsigned int `8080`, expected a string for key "NAME"
in environment variable(s)
Well, now you can do this, and it will work even with numbers or booleans or whatever as input:
# use ;
# use Deserialize;