Skip to content

Commit

Permalink
small cargo clippy fixes + dependency bumps (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtau committed Aug 29, 2023
1 parent 734ba66 commit ec61e92
Show file tree
Hide file tree
Showing 15 changed files with 227 additions and 225 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: ./.github/actions/setup
with:
kind: check
toolchain: 1.64.0
toolchain: 1.70.0
- name: cargo check
run: cargo check --all --features pretty-print,const_prec_climber,memchr,grammar-extras --all-targets

Expand All @@ -40,7 +40,7 @@ jobs:
with:
kind: check
components: clippy, rustfmt
toolchain: 1.64.0
toolchain: 1.70.0
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
Expand All @@ -62,7 +62,7 @@ jobs:
id: setup
with:
kind: check
toolchain: 1.64.0
toolchain: 1.70.0
- name: cargo doc
run: cargo doc --all --features pretty-print,const_prec_climber,memchr,grammar-extras

Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
id: setup
with:
kind: check
toolchain: 1.64.0
toolchain: 1.70.0
- name: Check feature powerset
run: cargo hack check --feature-powerset --optional-deps --exclude-all-features --skip not-bootstrap-in-src,cargo --keep-going --lib --tests --ignore-private

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install jq
run: sudo apt-get update && sudo apt-get install -y jq
- name: Install toolchain
uses: dtolnay/rust-toolchain@1.63.0 # needed for pest_debugger (linux-raw-sys v0.4.3 requires it)
uses: dtolnay/rust-toolchain@1.70.0 # needed for pest_debugger (clap_builder v4.4.1 requires it)
- name: Bootstraping Grammars - Building
run: cargo build --package pest_bootstrap
- name: Bootstraping Grammars - Executing
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"bootstrap",
"debugger",
Expand Down
8 changes: 4 additions & 4 deletions debugger/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "pest_debugger"
description = "pest grammar debugger"
version = "2.7.2"
version = "2.7.3"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>", "Tomas Tauber <me@tomtau.be>"]
homepage = "https://pest.rs/"
Expand All @@ -14,9 +14,9 @@ readme = "_README.md"
rust-version = "1.60"

[dependencies]
pest = { path = "../pest", version = "2.7.2" }
pest_meta = { path = "../meta", version = "2.7.2" }
pest_vm = { path = "../vm", version = "2.7.2" }
pest = { path = "../pest", version = "2.7.3" }
pest_meta = { path = "../meta", version = "2.7.3" }
pest_vm = { path = "../vm", version = "2.7.3" }
reqwest = { version = "= 0.11.13", default-features = false, features = ["blocking", "json", "default-tls"] }
rustyline = "10"
serde_json = "1"
Expand Down
6 changes: 3 additions & 3 deletions derive/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "pest_derive"
description = "pest's derive macro"
version = "2.7.2"
version = "2.7.3"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest.rs/"
Expand All @@ -25,5 +25,5 @@ grammar-extras = ["pest_generator/grammar-extras"]

[dependencies]
# for tests, included transitively anyway
pest = { path = "../pest", version = "2.7.2", default-features = false }
pest_generator = { path = "../generator", version = "2.7.2", default-features = false }
pest = { path = "../pest", version = "2.7.3", default-features = false }
pest_generator = { path = "../generator", version = "2.7.3", default-features = false }
6 changes: 3 additions & 3 deletions generator/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "pest_generator"
description = "pest code generator"
version = "2.7.2"
version = "2.7.3"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest.rs/"
Expand All @@ -20,8 +20,8 @@ not-bootstrap-in-src = ["pest_meta/not-bootstrap-in-src"]
grammar-extras = ["pest_meta/grammar-extras"]

[dependencies]
pest = { path = "../pest", version = "2.7.2", default-features = false }
pest_meta = { path = "../meta", version = "2.7.2" }
pest = { path = "../pest", version = "2.7.3", default-features = false }
pest_meta = { path = "../meta", version = "2.7.3" }
proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"
6 changes: 3 additions & 3 deletions grammars/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "pest_grammars"
description = "pest popular grammar implementations"
version = "2.7.2"
version = "2.7.3"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest.rs/"
Expand All @@ -14,8 +14,8 @@ readme = "_README.md"
rust-version = "1.60"

[dependencies]
pest = { path = "../pest", version = "2.7.2" }
pest_derive = { path = "../derive", version = "2.7.2" }
pest = { path = "../pest", version = "2.7.3" }
pest_derive = { path = "../derive", version = "2.7.3" }

[dev-dependencies]
criterion = "0.5"
Expand Down
6 changes: 3 additions & 3 deletions meta/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "pest_meta"
description = "pest meta language parser and validator"
version = "2.7.2"
version = "2.7.3"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest.rs/"
Expand All @@ -16,12 +16,12 @@ include = ["Cargo.toml", "src/**/*", "src/grammar.rs", "_README.md", "LICENSE-*"
rust-version = "1.60"

[dependencies]
pest = { path = "../pest", version = "2.7.2" }
pest = { path = "../pest", version = "2.7.3" }
once_cell = "1.8.0"

[build-dependencies]
sha2 = { version = "0.10", default-features = false }
cargo = { version = "0.70", optional = true }
cargo = { version = "0.72.2", optional = true }

[features]
default = []
Expand Down

0 comments on commit ec61e92

Please sign in to comment.