Use dependencies from git when building locally
authorJeffrey Czyz <jkczyz@gmail.com>
Sat, 8 May 2021 00:36:39 +0000 (17:36 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Sat, 8 May 2021 00:52:13 +0000 (17:52 -0700)
commitdfe7a0603e61e5709e58212f0165b2b47c27c9fc
tree156ccfd39c837d3d2c9298fdcfdfeb3f56437539
parentddc3431971c51a2cbab375ea3ce8ab6df2caf1dd
Use dependencies from git when building locally

Specifying a version number for dependencies prevents building against
recent changes upstream. However, either `path` or `git` can be given to
be used locally while `version` is still used when publishing to a
registry like crates.io. For details, see:

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations
Cargo.lock
Cargo.toml
src/cli.rs