5 releases
| 0.6.3 | Aug 8, 2022 |
|---|---|
| 0.6.2 | Jul 28, 2022 |
| 0.6.1 | Jul 20, 2022 |
| 0.6.0 | Jul 6, 2022 |
| 0.1.0 | Jul 5, 2022 |
#752 in Configuration
Used in enarx-exec-wasmtime
12KB
283 lines
Configuration for a WASI application in an Enarx Keep
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 enarx_config::Config;
const CONFIG: &str = r#"
[[files]]
name = "LISTEN"
kind = "listen"
prot = "tls"
port = 12345
"#;
let config: Config = toml::from_str(CONFIG).unwrap();
Dependencies
~2.4–3.5MB
~58K SLoC