serde-command-opts 0.1.1

A crate for serializing command line options (structopt in reverse).
Documentation
  • Coverage
  • 81.82%
    9 out of 11 items documented0 out of 6 items with examples
  • Size
  • Source code size: 29.08 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.88 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 22s Average build duration of successful builds.
  • all releases: 22s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fsyncdadmin

Serde Command Opts

A crate for serializing command line options (structopt in reverse).

Why?

When you are building a Rust wrapper for an existing, complex, CLI application it often makes sense to support typed arguments as structures.

serde-command-opts enables developers to easily convert a structure representation of command line options into a string vector ready for passing to a child process.

Documentation

For examples take a look at the simple test cases listed in this repository. The API and its ergonomics are based off and inspired by Serde so it should be a direct drop in.

License

Liberal open source, Apache 2.0.