Merge pull request #529 from epage/upgrade

chore: Update dependencies
This commit is contained in:
Ed Page 2022-08-03 09:41:14 -05:00 committed by GitHub
commit 4e59b27518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 94 additions and 79 deletions

View file

@ -1 +1 @@
msrv = "1.59.0" # MSRV msrv = "1.60.0" # MSRV

View file

@ -51,7 +51,7 @@ jobs:
- name: No-default features - name: No-default features
run: cargo test --workspace --no-default-features run: cargo test --workspace --no-default-features
msrv: msrv:
name: "Check MSRV: 1.59.0" name: "Check MSRV: 1.60.0"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -59,7 +59,7 @@ jobs:
- name: Install Rust - name: Install Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: 1.59.0 # MSRV toolchain: 1.60.0 # MSRV
profile: minimal profile: minimal
override: true override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v1
@ -113,7 +113,7 @@ jobs:
- name: Install Rust - name: Install Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: 1.59.0 # MSRV toolchain: 1.60.0 # MSRV
profile: minimal profile: minimal
override: true override: true
components: clippy components: clippy

View file

@ -59,9 +59,9 @@ jobs:
strategy: strategy:
matrix: matrix:
rust: rust:
- 1.59.0 # MSRV - 1.60.0 # MSRV
- stable - stable
continue-on-error: ${{ matrix.rust != '1.59.0' }} # MSRV continue-on-error: ${{ matrix.rust != '1.60.0' }} # MSRV
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository

83
Cargo.lock generated
View file

@ -767,9 +767,9 @@ checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
[[package]] [[package]]
name = "itoa" name = "itoa"
version = "1.0.2" version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754"
[[package]] [[package]]
name = "js-sys" name = "js-sys"
@ -943,18 +943,19 @@ dependencies = [
[[package]] [[package]]
name = "phf" name = "phf"
version = "0.10.1" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" checksum = "4724fa946c8d1e7cd881bd3dbee63ce32fc1e9e191e35786b3dc1320a3f68131"
dependencies = [ dependencies = [
"phf_macros",
"phf_shared", "phf_shared",
] ]
[[package]] [[package]]
name = "phf_codegen" name = "phf_codegen"
version = "0.10.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd" checksum = "32ba0c43d7a1b6492b2924a62290cfd83987828af037b0743b38e6ab092aee58"
dependencies = [ dependencies = [
"phf_generator", "phf_generator",
"phf_shared", "phf_shared",
@ -962,19 +963,33 @@ dependencies = [
[[package]] [[package]]
name = "phf_generator" name = "phf_generator"
version = "0.10.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" checksum = "5b450720b6f75cfbfabc195814bd3765f337a4f9a83186f8537297cac12f6705"
dependencies = [ dependencies = [
"phf_shared", "phf_shared",
"rand", "rand",
] ]
[[package]] [[package]]
name = "phf_shared" name = "phf_macros"
version = "0.10.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" checksum = "cd94351ac44e70e56b59883e15029a5135f902a8a3020f9c18d580a420e526aa"
dependencies = [
"phf_generator",
"phf_shared",
"proc-macro2",
"quote",
"syn",
"unicase",
]
[[package]]
name = "phf_shared"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9dd5609d4b2df87167f908a32e1b146ce309c16cf35df76bc11f440b756048e4"
dependencies = [ dependencies = [
"siphasher", "siphasher",
"unicase", "unicase",
@ -1073,18 +1088,18 @@ dependencies = [
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.42" version = "1.0.43"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b" checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.20" version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
] ]
@ -1201,9 +1216,9 @@ dependencies = [
[[package]] [[package]]
name = "ryu" name = "ryu"
version = "1.0.10" version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09"
[[package]] [[package]]
name = "same-file" name = "same-file"
@ -1222,15 +1237,15 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]] [[package]]
name = "semver" name = "semver"
version = "1.0.12" version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2333e6df6d6598f2b1974829f853c2b4c5f4a6e503c10af918081aa6f8564e1" checksum = "93f6841e709003d68bb2deee8c343572bf446003ec20a583e76f7b15cebf3711"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.141" version = "1.0.142"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7af873f2c95b99fcb0bd0fe622a43e29514658873c8ceba88c4cb88833a22500" checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
@ -1247,9 +1262,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.141" version = "1.0.142"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75743a150d003dd863b51dc809bcad0d73f2102c53632f1e954e738192a3413f" checksum = "34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1258,11 +1273,11 @@ dependencies = [
[[package]] [[package]]
name = "serde_json" name = "serde_json"
version = "1.0.82" version = "1.0.83"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82c2c1fdcd807d1098552c5b9a36e425e42e9fbd7c6a37a8425f390f781f7fa7" checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7"
dependencies = [ dependencies = [
"itoa 1.0.2", "itoa 1.0.3",
"ryu", "ryu",
"serde", "serde",
] ]
@ -1337,9 +1352,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.98" version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1392,18 +1407,18 @@ checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "1.0.31" version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "1.0.31" version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1617,9 +1632,9 @@ dependencies = [
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.2" version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7" checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
[[package]] [[package]]
name = "unicode-segmentation" name = "unicode-segmentation"

View file

@ -14,7 +14,7 @@ readme = "README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
include = [ include = [
"src/**/*", "src/**/*",
"Cargo.toml", "Cargo.toml",
@ -53,16 +53,16 @@ doc = false
[dependencies] [dependencies]
typos = { version = "^0.10", path = "crates/typos" } typos = { version = "^0.10", path = "crates/typos" }
varcon-core = { version = "^2.0.0", path = "crates/varcon-core" } varcon-core = { version = "^2.2.4", path = "crates/varcon-core" }
typos-dict = { version = "^0.8", path = "crates/typos-dict", optional = true } typos-dict = { version = "^0.8", path = "crates/typos-dict", optional = true }
typos-vars = { version = "^0.8", path = "crates/typos-vars", optional = true } typos-vars = { version = "^0.8", path = "crates/typos-vars", optional = true }
unicase = "2.5" unicase = "2.6"
anyhow = "1.0" anyhow = "1.0"
clap = "3.2" clap = "3.2"
clap-verbosity-flag = "1.0" clap-verbosity-flag = "1.0"
ignore = "0.4" ignore = "0.4"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
toml_edit = { version = "0.14.2", features = ["easy"] } toml_edit = { version = "0.14.4", features = ["easy"] }
log = "0.4" log = "0.4"
env_logger = { version = "0.9", default-features = false, features = ["termcolor"] } env_logger = { version = "0.9", default-features = false, features = ["termcolor"] }
atty = "0.2.14" atty = "0.2.14"
@ -92,7 +92,7 @@ globset = "0.4.9"
[dev-dependencies] [dev-dependencies]
assert_fs = "1.0" assert_fs = "1.0"
trycmd = "0.13.3" trycmd = "0.13.5"
criterion = "0.3" criterion = "0.3"
[profile.dev] [profile.dev]

View file

@ -9,7 +9,7 @@ categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
license = "CC-BY-SA-3.0" license = "CC-BY-SA-3.0"
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
publish = false publish = false
include = [ include = [
"src/**/*", "src/**/*",
@ -23,12 +23,12 @@ include = [
release = false release = false
[dependencies] [dependencies]
unicase = "2.5" unicase = "2.6"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
snapbox = { version = "0.3.0", features = ["path"] } snapbox = { version = "0.3.1", features = ["path"] }
[dev-dependencies] [dev-dependencies]
unicase = "2.5" unicase = "2.6"
itertools = "0.10" itertools = "0.10"
codegenrs = "2.0" codegenrs = "2.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }

View file

@ -7,7 +7,7 @@ categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling", "no_std"] keywords = ["development", "spelling", "no_std"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
include = [ include = [
"src/**/*", "src/**/*",
"Cargo.toml", "Cargo.toml",
@ -23,7 +23,7 @@ codegen = ["std", "phf_codegen"]
map = ["phf", "phf_shared"] map = ["phf", "phf_shared"]
[dependencies] [dependencies]
unicase = "2.5" unicase = "2.6"
phf = { version = "0.10", features = ["unicase"], optional = true } phf = { version = "0.11", features = ["unicase"], optional = true }
phf_codegen = { version = "0.10", optional = true } phf_codegen = { version = "0.11", optional = true }
phf_shared = { version = "0.10", optional = true } phf_shared = { version = "0.11", optional = true }

View file

@ -9,7 +9,7 @@ categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
publish = false publish = false
include = [ include = [
"src/**/*", "src/**/*",
@ -23,13 +23,13 @@ include = [
release = false release = false
[dependencies] [dependencies]
unicase = "2.5" unicase = "2.6"
log = "0.4" log = "0.4"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
snapbox = { version = "0.3.0", features = ["path"] } snapbox = { version = "0.3.1", features = ["path"] }
[dev-dependencies] [dev-dependencies]
unicase = "2.5" unicase = "2.6"
itertools = "0.10" itertools = "0.10"
codegenrs = "2.0" codegenrs = "2.0"
regex = "1" regex = "1"

View file

@ -9,7 +9,7 @@ readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
include = [ include = [
"src/**/*", "src/**/*",
"Cargo.toml", "Cargo.toml",
@ -19,16 +19,16 @@ include = [
] ]
[dependencies] [dependencies]
unicase = "2.5" unicase = "2.6"
log = "0.4" log = "0.4"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
snapbox = { version = "0.3.0", features = ["path"] } snapbox = { version = "0.3.1", features = ["path"] }
[dev-dependencies] [dev-dependencies]
csv = "1.1" csv = "1.1"
itertools = "0.10" itertools = "0.10"
edit-distance = "2.1" edit-distance = "2.1"
unicase = "2.5" unicase = "2.6"
codegenrs = "2.0" codegenrs = "2.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
varcon = { version = "^0.6", path = "../varcon" } varcon = { version = "^0.6", path = "../varcon" }

View file

@ -9,7 +9,7 @@ readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
include = [ include = [
"src/**/*", "src/**/*",
"Cargo.toml", "Cargo.toml",
@ -19,17 +19,17 @@ include = [
] ]
[dependencies] [dependencies]
unicase = "2.5" unicase = "2.6"
log = "0.4" log = "0.4"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
varcon-core = { version = "^2.0", path = "../varcon-core", features = ["flags"] } varcon-core = { version = "^2.2", path = "../varcon-core", features = ["flags"] }
snapbox = { version = "0.3.0", features = ["path"] } snapbox = { version = "0.3.1", features = ["path"] }
[dev-dependencies] [dev-dependencies]
varcon = { version = "^0.6", path = "../varcon", features = ["flags"] } varcon = { version = "^0.6", path = "../varcon", features = ["flags"] }
varcon-core = { version = "^2.0", path = "../varcon-core", features = ["flags"] } varcon-core = { version = "^2.2", path = "../varcon-core", features = ["flags"] }
typos = { version = "^0.10", path = "../typos" } typos = { version = "^0.10", path = "../typos" }
unicase = "2.5" unicase = "2.6"
codegenrs = "2.0" codegenrs = "2.0"
itertools = "0.10" itertools = "0.10"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }

View file

@ -9,7 +9,7 @@ readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
include = [ include = [
"src/**/*", "src/**/*",
"Cargo.toml", "Cargo.toml",
@ -22,10 +22,10 @@ include = [
anyhow = "1.0" anyhow = "1.0"
thiserror = "1.0" thiserror = "1.0"
nom = "7.1" nom = "7.1"
unicode-xid = "0.2.2" unicode-xid = "0.2.3"
once_cell = "1.13.0" once_cell = "1.13.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
simdutf8 = "0.1.1" simdutf8 = "0.1.4"
itertools = "0.10" itertools = "0.10"
log = "0.4" log = "0.4"
unicode-segmentation = "1.9.0" unicode-segmentation = "1.9.0"

View file

@ -8,7 +8,7 @@ repository = "https://github.com/crate-ci/typos"
readme = "../../README.md" readme = "../../README.md"
categories = ["text-processing"] categories = ["text-processing"]
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
include = [ include = [
"src/**/*", "src/**/*",
"Cargo.toml", "Cargo.toml",

View file

@ -9,7 +9,7 @@ readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
include = [ include = [
"src/**/*", "src/**/*",
"Cargo.toml", "Cargo.toml",
@ -25,8 +25,8 @@ flags = ["varcon-core/flags"]
[dependencies] [dependencies]
snapbox = { version = "0.3.1", features = ["path"] } snapbox = { version = "0.3.1", features = ["path"] }
varcon-core = { version = "^2.0", path = "../varcon-core" } varcon-core = { version = "^2.2", path = "../varcon-core" }
[dev-dependencies] [dev-dependencies]
codegenrs = "2.0" codegenrs = "2.0"
varcon-core = { version = "^2.0", path = "../varcon-core", features = ["parser"] } varcon-core = { version = "^2.2", path = "../varcon-core", features = ["parser"] }

View file

@ -9,7 +9,7 @@ readme = "README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" edition = "2021"
rust-version = "1.59.0" # MSRV rust-version = "1.60.0" # MSRV
publish = false publish = false
include = [ include = [
"src/**/*", "src/**/*",
@ -23,12 +23,12 @@ include = [
release = false release = false
[dependencies] [dependencies]
unicase = "2.5" unicase = "2.6"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
snapbox = { version = "0.3.0", features = ["path"] } snapbox = { version = "0.3.1", features = ["path"] }
[dev-dependencies] [dev-dependencies]
unicase = "2.5" unicase = "2.6"
itertools = "0.10" itertools = "0.10"
codegenrs = "2.0" codegenrs = "2.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }