Skip to content

Commit

Permalink
Add an MSRV check to the CI
Browse files Browse the repository at this point in the history
closes #479
  • Loading branch information
dralley committed Sep 19, 2022
1 parent 7efd921 commit 18e62b8
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
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/rust-toolchain@1.54.0
- run: cargo check

test:
strategy:
matrix:
Expand Down
7 changes: 4 additions & 3 deletions Cargo.toml
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 18e62b8

Please sign in to comment.