This crate provides Config, which can be used to with any serde deserializer.
Its main purpose is to read an Enarx.toml configuration file.
extern crate toml;
use Config;
const CONFIG: &str = r#"
[[files]]
name = "LISTEN"
kind = "listen"
prot = "tls"
port = 12345
"#;
let config: Config = from_str.unwrap;