Skip to content

Commit

Permalink
Remove ifmt
Browse files Browse the repository at this point in the history
rust-lang/rust#72622

also removes unused deps
  • Loading branch information
kornelski committed May 29, 2020
1 parent 24b1242 commit 78cc93f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 56 deletions.
38 changes: 0 additions & 38 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions crev-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ default = "0.1.2"
directories = "2.0.2"
fnv = "1.0.6"
git2 = "0.13"
ifmt = "0.3.0"
insideout = "0.2.0"
log = "0.4.8"
num_cpus = "1.12.0"
Expand All @@ -33,7 +32,6 @@ semver = "0.9.0"
serde = "1.0.106"
serde_cbor = "0.11.1"
serde_yaml = "0.8.11"
tempdir = "0.3.7"
walkdir = "2.3.1"
thiserror = "1.0.17"
rayon = "1.3.0"
5 changes: 2 additions & 3 deletions crev-lib/src/tests/issues.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use crev_data::{
TrustLevel, UnlockedId,
};
use crev_wot::FetchSource;
use ifmt::iformat;
use semver::Version;

const SOURCE: &str = "SOURCE_ID";
Expand All @@ -17,15 +16,15 @@ fn build_advisory(id: impl Into<String>, range: VersionRange) -> Advisory {
Advisory::builder()
.range(range)
.ids(vec![id.clone()])
.comment(iformat!("comment for {id}"))
.comment(format!("comment for {}", id))
.build()
}

fn build_issue(id: impl Into<String>) -> Issue {
let id = id.into();
Issue::builder()
.id(id.clone())
.comment(iformat!("issue {id}"))
.comment(format!("issue {}", id))
.build()
}

Expand Down
13 changes: 0 additions & 13 deletions crev-wot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,12 @@ readme = "../README.md"

[dependencies]
crev-common = { path = "../crev-common", version = "0.17.0" }
miscreant = { version = "0.4", features = ["soft-aes"] }
crev-data = { path = "../crev-data", version = "0.17.0" }
blake2 = "0.8.1"
chrono = "0.4.11"
crev-recursive-digest = "0.4.0"
default = "0.1.2"
directories = "2.0.2"
fnv = "1.0.6"
git2 = "0.13"
ifmt = "0.3.0"
insideout = "0.2.0"
log = "0.4.8"
num_cpus = "1.12.0"
resiter = "0.4.0"
rust-argon2 = "0.8.2"
semver = "0.9.0"
serde = "1.0.106"
serde_cbor = "0.11.1"
serde_yaml = "0.8.11"
tempdir = "0.3.7"
walkdir = "2.3.1"
thiserror = "1.0.17"

0 comments on commit 78cc93f

Please sign in to comment.