Skip to content

Commit

Permalink
Make index_list non-optional and check read and write featueres in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jackh726 committed Feb 24, 2025
1 parent 1091f7f commit acc614b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
- name: Build with all features
run: cargo build --all-features

- name: Check with read feature
run: cargo check --features read

- name: Build with write feature
run: cargo build --features write

- name: Execute all tests
run: cargo test --all

Expand Down
4 changes: 2 additions & 2 deletions bigtools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ufmt = { version = "0.2", features = ["std"], optional = true }
bytes = { version = "1.4.0", optional = true }
tokio = { version = "1.34.0", features = ["rt", "rt-multi-thread"] }
smallvec = { version = "1.11.2", features = ["write"] }
index_list = { version = "0.2.13", optional = true }
index_list = { version = "0.2.13" }

[dev-dependencies]
rand = "0.8"
Expand Down Expand Up @@ -84,4 +84,4 @@ default = ["remote", "read", "write", "cli"]
remote = ["attohttpc", "tempfile"]
cli = ["anyhow", "clap", "ryu", "ufmt", "read", "write"]
read = ["bytes", "itertools"]
write = ["crossbeam-channel", "tempfile", "futures", "serde", "itertools", "bincode", "index_list"]
write = ["crossbeam-channel", "tempfile", "futures", "serde", "itertools", "bincode"]

0 comments on commit acc614b

Please sign in to comment.