Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
[cargo-guppy] add a command to move crates within a workspace
Browse files Browse the repository at this point in the history
This allows for easy and convenient refactorings of
crates within a workspace.
  • Loading branch information
sunshowers committed Jun 18, 2020
1 parent b225ef2 commit c2ee79d
Show file tree
Hide file tree
Showing 6 changed files with 724 additions and 3 deletions.
138 changes: 138 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cargo-guppy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ edition = "2018"
[dependencies]
anyhow = "1.0.25"
clap = "2.33"
dialoguer = "0.6.2"
guppy = { version = "^0.5.0-rc.1", path = "../guppy", features = ["summaries"] }
guppy-cmdlib = { path = "../guppy-cmdlib" }
itertools = "0.9.0"
pathdiff = "0.2.0"
serde = { version = "1.0.40", features = ["derive"] }
serde_json = "1.0.51"
structopt = "0.3.0"
# Includes the changes in https://github.com/ordian/toml_edit/pull/88.
toml_edit = { git = "https://github.com/sunshowers/toml_edit.git", rev = "296e1cd8f9c3a62c7df7c3b4123d3ef81424fcd9" }
2 changes: 2 additions & 0 deletions cargo-guppy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

mod core;
mod diff;
mod mv;

pub use crate::core::*;
pub use crate::mv::*;

use anyhow::{bail, Context, Result};
use clap::arg_enum;
Expand Down

0 comments on commit c2ee79d

Please sign in to comment.