Skip to content

Commit

Permalink
bump deps to new versions that use syn 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed Apr 12, 2023
1 parent 9badeba commit 3ec7e9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ annotate-snippets = { version = "0.9", features = ["color"] }
anyhow = "1.0"
bytecount = "0.6"
cargo_metadata = "0.14"
clap = { version = "3.1", features = ["derive"] }
clap = { version = "4.2.1", features = ["derive"] }
derive-new = "0.5"
diff = "0.1"
dirs = "4.0"
Expand All @@ -48,10 +48,10 @@ itertools = "0.10"
lazy_static = "1.4"
log = "0.4"
regex = "1.5"
serde = { version = "1.0", features = ["derive"] }
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0"
term = "0.7"
thiserror = "1.0"
thiserror = "1.0.40"
toml = "0.5"
unicode-segmentation = "1.9"
unicode-width = "0.1"
Expand Down
6 changes: 3 additions & 3 deletions src/cargo-fmt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ use std::path::{Path, PathBuf};
use std::process::Command;
use std::str;

use clap::{AppSettings, CommandFactory, Parser};
use clap::{CommandFactory, Parser};

#[path = "test/mod.rs"]
#[cfg(test)]
mod cargo_fmt_tests;

#[derive(Parser)]
#[clap(
global_setting(AppSettings::NoAutoVersion),
disable_version_flag = true,
bin_name = "cargo fmt",
about = "This utility formats all bin and lib files of \
the current crate using rustfmt."
Expand All @@ -45,7 +45,7 @@ pub struct Opts {
short = 'p',
long = "package",
value_name = "package",
multiple_values = true
num_args = 1..
)]
packages: Vec<String>,

Expand Down

0 comments on commit 3ec7e9a

Please sign in to comment.