diff options
author | Michael Gattozzi <mgattozzi@gmail.com> | 2019-11-21 10:59:44 -0500 |
---|---|---|
committer | Michael Gattozzi <mgattozzi@gmail.com> | 2019-11-21 14:21:07 -0500 |
commit | 2cd27b8dd40c7361f6f2b8832e210a58f30f3639 (patch) | |
tree | f52f9c39570e227f58ee498c3943e50d2e3f732c /Cargo.lock | |
parent | 5cec4e3f5c551731d1202d892da570ad62d9682d (diff) |
Move find_root function into the new shared crate
This cleans up the init function using the modified find_root function
for ticket and moves it into a new shared crate so that other tools that
might be built can use it. This means we can easily find the root of
a git repo no matter where in the repo one is and build paths relative
to it.
Closes #3
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -374,6 +374,13 @@ dependencies = [ ] [[package]] +name = "shared" +version = "0.1.0" +dependencies = [ + "anyhow 1.0.22 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] name = "strsim" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -437,6 +444,7 @@ dependencies = [ "paw 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustyline 5.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", + "shared 0.1.0", "structopt 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", "toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", ] |