Update phf

This commit is contained in:
Steven Fackler 2021-08-10 20:30:27 -04:00
parent d95eb353dd
commit be0c85ac0b
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Steven Fackler <sfackler@gmail.com>"] authors = ["Steven Fackler <sfackler@gmail.com>"]
[dependencies] [dependencies]
phf_codegen = "0.9" phf_codegen = "0.10"
regex = "1.0" regex = "1.0"
marksman_escape = "0.1" marksman_escape = "0.1"
linked-hash-map = "0.5" linked-hash-map = "0.5"

View File

@ -48,7 +48,7 @@ log = "0.4"
parking_lot = "0.11" parking_lot = "0.11"
percent-encoding = "2.0" percent-encoding = "2.0"
pin-project-lite = "0.2" pin-project-lite = "0.2"
phf = "0.9" phf = "0.10"
postgres-protocol = { version = "0.6.1", path = "../postgres-protocol" } postgres-protocol = { version = "0.6.1", path = "../postgres-protocol" }
postgres-types = { version = "0.2.1", path = "../postgres-types" } postgres-types = { version = "0.2.1", path = "../postgres-types" }
socket2 = "0.4" socket2 = "0.4"

View File

@ -1341,7 +1341,7 @@ enum Inner {
static SQLSTATE_MAP: phf::Map<&'static str, SqlState> = static SQLSTATE_MAP: phf::Map<&'static str, SqlState> =
::phf::Map { ::phf::Map {
key: 12913932095322966823, key: 12913932095322966823,
disps: ::phf::Slice::Static(&[ disps: &[
(0, 12), (0, 12),
(0, 18), (0, 18),
(0, 25), (0, 25),
@ -1394,8 +1394,8 @@ static SQLSTATE_MAP: phf::Map<&'static str, SqlState> =
(0, 242), (0, 242),
(0, 72), (0, 72),
(16, 53), (16, 53),
]), ],
entries: ::phf::Slice::Static(&[ entries: &[
("22034", SqlState::MORE_THAN_ONE_SQL_JSON_ITEM), ("22034", SqlState::MORE_THAN_ONE_SQL_JSON_ITEM),
("40P01", SqlState::T_R_DEADLOCK_DETECTED), ("40P01", SqlState::T_R_DEADLOCK_DETECTED),
("42703", SqlState::UNDEFINED_COLUMN), ("42703", SqlState::UNDEFINED_COLUMN),
@ -1654,5 +1654,5 @@ static SQLSTATE_MAP: phf::Map<&'static str, SqlState> =
("25003", SqlState::INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION), ("25003", SqlState::INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION),
("02001", SqlState::NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED), ("02001", SqlState::NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED),
("42804", SqlState::DATATYPE_MISMATCH), ("42804", SqlState::DATATYPE_MISMATCH),
]), ],
}; };