Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests --all-features
args: --tests --features $all_features

- name: Test (default features)
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -75,4 +75,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
args: --features $all_features

env:
all_features: "bytemuck,rand,randtest,serde,schemars,proptest,rkyv,speedy"
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ edition = "2018"
[dependencies]
num-traits = { version = "0.2.1", default-features = false }
serde = { version = "1.0", optional = true, default-features = false }
rkyv = { version = "0.7", optional = true, default-features = false, features = ["size_32"] }
rkyv = { version = "0.7", optional = true, default-features = false }
schemars = { version = "0.8.8", optional = true }
rand = { version = "0.8.3", optional = true, default-features = false }
arbitrary = { version = "1.0.0", optional = true }
Expand All @@ -31,3 +31,7 @@ serde_test = "1.0"
default = ["std"]
std = ["num-traits/std"]
randtest = ["rand/std", "rand/std_rng"]
rkyv = ["rkyv_32"]
rkyv_16 = ["dep:rkyv", "rkyv/size_16"]
rkyv_32 = ["dep:rkyv", "rkyv/size_32"]
rkyv_64 = ["dep:rkyv", "rkyv/size_64"]