Skip to content

Commit 61c3673

Browse files
committed
Add an MSRV check to the CI
closes tafia#479
1 parent da5f1e7 commit 61c3673

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/rust.yml

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ jobs:
1010
- name: Check fmt
1111
run: cargo fmt -- --check
1212

13+
msrv:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: dtolnay/[email protected]
18+
- run: cargo check --all-features
19+
1320
test:
1421
strategy:
1522
matrix:

Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ repository = "https://github.com/tafia/quick-xml"
1010
keywords = ["xml", "serde", "parser", "writer", "html"]
1111
categories = ["asynchronous", "encoding", "parsing", "parser-implementations"]
1212
license = "MIT"
13+
rust_version = "1.54"
1314

1415
[dependencies]
1516
document-features = { version = "0.2", optional = true }
1617
encoding_rs = { version = "0.8", optional = true }
17-
serde = { version = "1.0", optional = true }
18-
tokio = { version = "1.21", optional = true, default-features = false, features = ["io-util"] }
19-
memchr = "2.5"
18+
serde = { version = "^1.0.100", optional = true }
19+
tokio = { version = "^1.0", optional = true, default-features = false, features = ["io-util"] }
20+
memchr = "^2.0"
2021

2122
[dev-dependencies]
2223
criterion = "0.4"

0 commit comments

Comments
 (0)