Parse HOCON configuration files in Rust
The API docs for the master branch are published here.
```rust let s = r#"{"a":5}"#; let doc = Hocon::loadfromstr(s).unwrap();
asserteq!(doc["a"].asi64().unwrap(), 5); ```
```rust let s = r#"{"b":5, "b":10}"#; let doc = Hocon::loadfromstr(s).unwrap();
asserteq!(doc["b"].asi64().unwrap(), 10); ```
Serde support is enabled by default and can be used to deserialize HOCON documents to struct
s. It can be disabled by disabling default features.
```rust use serde::Deserialize;
struct Configuration { host: String, port: u8, auto_connect: bool, }
let s = r#"{host: 127.0.0.1, port: 80, auto_connect: false}"#;
let conf: Configuration = hocon::serde::from_str(s).unwrap(); ```
https://github.com/lightbend/config/blob/master/HOCON.md