simpleconfig

Crates.iosimpleconfig
lib.rssimpleconfig
version0.1.0
sourcesrc
created_at2023-08-15 11:42:51.490347
updated_at2023-08-15 11:42:51.490347
descriptionSimple config by string literal. Suitable for API config passing by string literal. Imagine you can pass `level=3;type=zstd` literally to compression algorithm library instead of Config::Builder::new().withLevel(3).withType(`zstd`).build?
homepage
repository
max_upload_size
id944933
size7,199
Wu Shilin (wushilin)

documentation

README

Simple config object by String literal.

This is designed for libraries to pass simple configs with just a String.

e.g.

Passing "compression_type=zstd;level=3" instead of Config::Builder::new()::with_level(3).with_type(CompressionType::ZSTD).build().unwrap()?

Passing "bind=0.0.0.0;port=8080" to SocketServer instead of (Option<InetAddress>, Option<u32>) tuple?

Your choice.

Commit count: 0

cargo fmt