Skip to content

Commit 5822bd8

Browse files
Upgrade phf* to v0.12
1 parent e1cd6be commit 5822bd8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
55

66
[dependencies]
7-
phf_codegen = "0.11"
7+
phf_codegen = "0.12"
88
regex = "1.0"
99
marksman_escape = "0.1"
1010
linked-hash-map = "0.5"

codegen/src/sqlstate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ enum Inner {{"#,
139139
fn make_map(codes: &LinkedHashMap<String, Vec<String>>, file: &mut BufWriter<File>) {
140140
let mut builder = phf_codegen::Map::new();
141141
for (code, names) in codes {
142-
builder.entry(&**code, &format!("SqlState::{}", &names[0]));
142+
builder.entry(&**code, format!("SqlState::{}", &names[0]));
143143
}
144144
write!(
145145
file,

tokio-postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ log = "0.4"
5757
parking_lot = "0.12"
5858
percent-encoding = "2.0"
5959
pin-project-lite = "0.2"
60-
phf = "0.11"
60+
phf = "0.12"
6161
postgres-protocol = { version = "0.6.8", path = "../postgres-protocol" }
6262
postgres-types = { version = "0.2.9", path = "../postgres-types" }
6363
tokio = { version = "1.27", features = ["io-util"] }

0 commit comments

Comments
 (0)