simpleconfig 0.1.0

Simple 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?
Documentation
  • Coverage
  • 75%
    6 out of 8 items documented1 out of 7 items with examples
  • Size
  • Source code size: 7.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • wushilin

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.