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:
Noa Aarts 2024-12-11 20:09:05 +01:00 committed by GitHub
commit 0effb41c52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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 = []