enarx-config

Crates.ioenarx-config
lib.rsenarx-config
version0.6.3
sourcesrc
created_at2022-07-05 15:25:20.419458
updated_at2022-08-08 21:40:57.151533
descriptionConfiguration for a WASI application in an Enarx Keep
homepagehttps://enarx.dev/
repositoryhttps://github.com/enarx/enarx
max_upload_size
id619766
size26,209
owners (github:enarx:owners)

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