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 20, 2022
1 parent 7efd921 commit 8da81e0
Show file tree
Hide file tree
Showing 3 changed files with 12 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
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -4,6 +4,7 @@
[![Crate](https://img.shields.io/crates/v/quick-xml.svg)](https://crates.io/crates/quick-xml)
[![docs.rs](https://docs.rs/quick-xml/badge.svg)](https://docs.rs/quick-xml)
[![codecov](https://img.shields.io/codecov/c/github/tafia/quick-xml)](https://codecov.io/gh/tafia/quick-xml)
[![MSRV](https://img.shields.io/badge/rustc-1.54+-ab6000.svg)](https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html)

High performance xml pull reader/writer.

Expand Down

0 comments on commit 8da81e0

Please sign in to comment.