Skip to content
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
- name: Cargo test w/ malloc_size_of
run: cargo test --verbose --features malloc_size_of

- name: Cargo fmt
run: cargo --all -- --check

- name: Cargo check w/o default features
if: matrix.toolchain == 'nightly'
run: cargo check --verbose --no-default-features
Expand Down Expand Up @@ -92,4 +95,3 @@ jobs:
- name: Mark the job as unsuccessful
run: exit 1
if: "!success()"

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ malloc_size_of = { version = "0.1.1", optional = true, default-features = false

[dev-dependencies]
bincode = "1.0.1"
criterion = "0.8"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
Loading