Update and fix phf versions
Since we're caching the output of phf_codegen we need to force our version to stay the same.
This commit is contained in:
parent
d48fa83c19
commit
8360821c1e
@ -27,7 +27,7 @@ nightly = []
|
||||
bufstream = "0.1"
|
||||
byteorder = "0.5"
|
||||
log = "0.3"
|
||||
phf = "0.7"
|
||||
phf = "=0.7.14"
|
||||
hex = "0.1"
|
||||
net2 = "0.2.16"
|
||||
rustc-serialize = { version = "0.3", optional = true }
|
||||
|
@ -4,6 +4,6 @@ version = "0.1.0"
|
||||
authors = ["Steven Fackler <sfackler@gmail.com>"]
|
||||
|
||||
[dependencies]
|
||||
phf_codegen = "0.7"
|
||||
phf_codegen = "=0.7.14"
|
||||
regex = "0.1"
|
||||
marksman_escape = "0.1"
|
||||
|
@ -482,7 +482,7 @@ pub enum SqlState {
|
||||
#[cfg_attr(rustfmt, rustfmt_skip)]
|
||||
static SQLSTATE_MAP: phf::Map<&'static str, SqlState> = ::phf::Map {
|
||||
key: 1897749892740154578,
|
||||
disps: &[
|
||||
disps: ::phf::Slice::Static(&[
|
||||
(0, 10),
|
||||
(1, 206),
|
||||
(0, 38),
|
||||
@ -531,8 +531,8 @@ static SQLSTATE_MAP: phf::Map<&'static str, SqlState> = ::phf::Map {
|
||||
(0, 233),
|
||||
(2, 149),
|
||||
(0, 105),
|
||||
],
|
||||
entries: &[
|
||||
]),
|
||||
entries: ::phf::Slice::Static(&[
|
||||
("42P03", SqlState::DuplicateCursor),
|
||||
("22019", SqlState::InvalidEscapeCharacter),
|
||||
("22022", SqlState::IndicatorOverflow),
|
||||
@ -769,7 +769,7 @@ static SQLSTATE_MAP: phf::Map<&'static str, SqlState> = ::phf::Map {
|
||||
("28000", SqlState::InvalidAuthorizationSpecification),
|
||||
("0Z002", SqlState::StackedDiagnosticsAccessedWithoutActiveHandler),
|
||||
("02000", SqlState::NoData),
|
||||
]
|
||||
]),
|
||||
};
|
||||
|
||||
impl SqlState {
|
||||
|
Loading…
Reference in New Issue
Block a user