Created
June 30, 2018 19:36
-
-
Save rahul-thakoor/4c158ef09016973bcc6176c04678e30a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//source: https://github.com/alexcrichton/toml-rs/blob/master/examples/decode.rs | |
let toml_str = r#" | |
global_string = "test" | |
global_integer = 5 | |
[server] | |
ip = "127.0.0.1" | |
port = 80 | |
[[peers]] | |
ip = "127.0.0.1" | |
port = 8080 | |
[[peers]] | |
ip = "127.0.0.1" | |
"#; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment