Skip to content

Commit

Permalink
[CI] Fix the CI job.
Browse files Browse the repository at this point in the history
A number of dependencies no longer build under rust 1.65. I
pinned 'em in order to preserve the minimum supported version.

  - toml
  - toml-edit
  - cargo-deb
  - anstyle to 1.0.2
  • Loading branch information
Michael Herstine committed Sep 16, 2023
1 parent 07bba8a commit 0ac8829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Install additional Rust tooling
shell: bash
run: |
cargo install --verbose cargo-deb
cargo install --verbose --version=1.44.0 --locked cargo-deb
- name: Configure mpdpopm
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions mpdpopm/Cargo.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ exclude = ["Cargo.toml.in", "Cargo.toml.orig", "Makefile", "Makefile.in", "Makef
lalrpop = { version = "0.20", features = ["lexer"] }

[dependencies]
anstyle = "=1.0.2" # Pin to preserve the ability to build with rust 1.65
async-trait = "0.1.31"
backtrace = "0.3.46"
boolinator = "2.4.0"
Expand All @@ -34,6 +35,8 @@ pin-project = "1.0.8"
regex = "1.3.6"
serde = { version = "1.0", features = ["derive"] }
serde-lexpr = "0.1.1"
toml = "=0.7.6" # Pin to preserve the ability to build with rust 1.65
toml_edit = "=0.19.12" # Pin to preserve the ability to build with rust 1.65
tokio = { version = "1.15.0", features = ["io-util", "macros", "net", "process", "rt-multi-thread", "signal", "time"] }

[package.metadata.deb]
Expand Down

0 comments on commit 0ac8829

Please sign in to comment.