diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fa323f9..61fef75 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 7f87449..66c10ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = []