filipegoncalves / rust-config

Configuration file library in Rust similar to C/C++'s libconfig
MIT License
20 stars 10 forks source link

Implement `ToString` trait for `ScalarValue` enum #9

Closed workanator closed 9 years ago

workanator commented 9 years ago

Hello,

it's very usefull to have to_string() method available for ScalarValue. Simple change but great help in tasks when scalar value should be converted to string.

workanator commented 9 years ago

Implemnted FromStr trait for Config so it can be easily parse()'d from str slice.

filipegoncalves commented 9 years ago

Looks good, thanks!

Sorry for the delay on my reply - I recently moved to another country and I'm still sorting it all out, but hopefully the project will be alive again soon :)