chore: Update dependencies

This commit is contained in:
Ed Page committed 2019-10-25 10:25:59 -06:00
1 parent 2ae125536d
commit 12e6cadbe7
7 files changed
+35501 -35605

No files matched your search

+3 -3
View File
@@ -15,9 +15,9 @@ azure-devops = { project = "crate-ci", pipeline = "typos" }
codecov = { repository = "crate-ci/typos" }
[dependencies]
phf = { version = "0.7", features = ["unicase"] }
phf_codegen = "0.7"
phf = { version = "0.8", features = ["unicase"] }
phf_codegen = "0.8"
csv = "1.0"
unicase = "1.1"
unicase = "2.5"
codegenrs = "0.1"
structopt = "0.3"
+3 -2
View File
@@ -22,9 +22,10 @@ fn generate<W: std::io::Write>(input: &[u8], file: &mut W) {
.collect();
for record in &records {
let value = format!(r#""{}""#, &record[1]);
builder.entry(unicase::UniCase(&record[0]), &value);
builder.entry(unicase::UniCase::new(&record[0]), &value);
}
builder.build(file).unwrap();
let codegenned = builder.build();
writeln!(file, "{}", codegenned).unwrap();
writeln!(file, ";").unwrap();
}