Skip to content

Commit 3768055

Browse files
committed
chore(deps)!: update phf to 0.13
Also raises MSRV to 1.66, as it is required by phf 0.13.
1 parent 24d693e commit 3768055

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- nightly
1919
- beta
2020
- stable
21-
- 1.63.0
21+
- 1.66.0
2222
features:
2323
-
2424
- --features dummy_match_byte

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
keywords = ["css", "syntax", "parser"]
1111
license = "MPL-2.0"
1212
edition = "2018"
13-
rust-version = "1.63"
13+
rust-version = "1.66"
1414

1515
exclude = ["src/css-parsing-tests/**", "src/big-data-url.css"]
1616

@@ -23,7 +23,7 @@ encoding_rs = "0.8"
2323
cssparser-macros = { path = "./macros", version = "0.6.1" }
2424
dtoa-short = "0.3"
2525
itoa = "1.0"
26-
phf = { version = "0.11.2", features = ["macros"] }
26+
phf = { version = "0.13.1", features = ["macros"] }
2727
serde = { version = "1.0", features = ["derive"], optional = true }
2828
malloc_size_of = { version = "0.1", default-features = false, optional = true }
2929
smallvec = "1.0"

src/tokenizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ enum SeenStatus {
229229

230230
impl<'a> Tokenizer<'a> {
231231
#[inline]
232-
pub fn new(input: &'a str) -> Tokenizer<'a> {
232+
pub fn new(input: &'a str) -> Self {
233233
Tokenizer {
234234
input,
235235
position: 0,

0 commit comments

Comments
 (0)