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 |
#1000 in Configuration
184 downloads per month
Used in enarx-exec-wasmtime
12KB
283 lines
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();
lib.rs
:
Configuration for a WASI application in an Enarx Keep
Dependencies
~3.5MB
~61K SLoC