enarx-config-86d3ad9

Crates.ioenarx-config-86d3ad9
lib.rsenarx-config-86d3ad9
version0.6.0
sourcesrc
created_at2022-07-19 18:08:24.894355
updated_at2022-07-19 18:08:24.894355
descriptionConfiguration for a WASI application in an Enarx Keep
homepagehttps://enarx.dev/
repositoryhttps://github.com/enarx/enarx
max_upload_size
id628464
size26,238
(definitelynobody)

documentation

README

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();
Commit count: 2509

cargo fmt