Closed Sciencentistguy closed 1 year ago
This PR updates clap to version 3, and uses clap's new #[derive(Parser)] feature to rely on clap more heavily for parsing args.
#[derive(Parser)]
Also bump to the 2021 edition, to enable disjoint capture in closures.
👍 looks good to me!
Maybe you can also add #143? With Clap v3 you should be able to just set env = "NIX_INDEX_DATABASE" or such.
env = "NIX_INDEX_DATABASE"
This PR updates clap to version 3, and uses clap's new
#[derive(Parser)]
feature to rely on clap more heavily for parsing args.Also bump to the 2021 edition, to enable disjoint capture in closures.