Skip to content

Instantly share code, notes, and snippets.

@yoshuawuyts
Created February 11, 2018 11:11
Show Gist options
  • Save yoshuawuyts/65e5247cf09aac7425b654fd5fa24d76 to your computer and use it in GitHub Desktop.
Save yoshuawuyts/65e5247cf09aac7425b654fd5fa24d76 to your computer and use it in GitHub Desktop.

Notes

  • The structopt crate will probably be merged into the clap crate at some point.
  • [email protected] was released today, and folded the structopt-derive crate into its core. I wonder if serde and failure will be able to do the same in the future.
  • configure and structopt seem a bit at odds with each other. configure works through env vars, while structopt works through flags. The main use case I'm seeing for configure right now is to toggle debug logging. Perhaps this is because I'm not writing network services for production use, yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment