Skip to content

Commit

Permalink
chore: Verify feature combinations (toml-rs#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
epage authored Sep 8, 2021
1 parent dd3e19a commit 381376e
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 97 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: check
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features

test:
name: Test
Expand All @@ -38,6 +42,10 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features

fmt:
name: Rustfmt
Expand Down Expand Up @@ -69,5 +77,5 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
args: --all-targets --all-features -- -D warnings

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ repository = "https://github.com/ordian/toml_edit"
documentation = "https://docs.rs/toml_edit"
edition = "2018"

[package.metadata.docs.rs]
features = ["easy"]

[features]
default = []
easy = ["serde"]
Expand Down
Loading

0 comments on commit 381376e

Please sign in to comment.