add all parsers feature to cargo.toml (#69)
adds a feature to have all the protocols enabled, for making sure to test all the things
This commit is contained in:
commit
0effb41c52
2 changed files with 4 additions and 2 deletions
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
- run: cargo test
|
||||
- run: cargo test --features all
|
||||
|
||||
|
||||
clippy:
|
||||
|
|
@ -42,4 +42,4 @@ jobs:
|
|||
with:
|
||||
toolchain: nightly
|
||||
components: clippy
|
||||
- run: cargo clippy --tests -- -Dclippy::all
|
||||
- run: cargo clippy --features all --tests -- -Dclippy::all
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
|||
|
||||
[features]
|
||||
default = ["text", "binary"]
|
||||
# contains all the parsers
|
||||
all = ["text", "binary"]
|
||||
text = []
|
||||
binary = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue