Skip to content

Commit

Permalink
Add an MSRV check to the CI
Browse files Browse the repository at this point in the history
closes tafia#479
  • Loading branch information
dralley committed Sep 18, 2022
1 parent da5f1e7 commit 61c3673
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ jobs:
- name: Check fmt
run: cargo fmt -- --check

msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
- run: cargo check --all-features

test:
strategy:
matrix:
Expand Down
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ repository = "https://github.com/tafia/quick-xml"
keywords = ["xml", "serde", "parser", "writer", "html"]
categories = ["asynchronous", "encoding", "parsing", "parser-implementations"]
license = "MIT"
rust_version = "1.54"

[dependencies]
document-features = { version = "0.2", optional = true }
encoding_rs = { version = "0.8", optional = true }
serde = { version = "1.0", optional = true }
tokio = { version = "1.21", optional = true, default-features = false, features = ["io-util"] }
memchr = "2.5"
serde = { version = "^1.0.100", optional = true }
tokio = { version = "^1.0", optional = true, default-features = false, features = ["io-util"] }
memchr = "^2.0"

[dev-dependencies]
criterion = "0.4"
Expand Down

0 comments on commit 61c3673

Please sign in to comment.