⚙️ Layered configuration system for Rust applications (with strong support for 12-factor applications).
2.43k
stars
206
forks
source link
Incorrectly deserializes upper case unquoted `INF` string value from a YAML file #568
Open
pamburus opened 3 weeks ago
Description
Here is the minimal test set to reproduce the issue
Source Files
assets/config.yaml
src/lib.rs
Cargo.toml
Expected results
INF
value is deserialized to aString
as"INF"
Actual results
INF
value is deserialized to aString
as"inf"
Notes
INF
is deserialized to some internal representation as a float+Inf
value before it is deserialized to aString
.