Skip to content
Open
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
10 changes: 4 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ env:
jobs:
cargo-test:
runs-on: ubuntu-latest
strategy:
matrix:
features:
- default
- rustc-hash
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@a37010ded18ff788be4440302bd6830b1ae50d8b # v2.68.25
with:
tool: cargo-hack@0.6.43
- uses: Swatinem/rust-cache@v2
- run: cargo test --no-default-features --features '${{ matrix.features }}'
- run: cargo hack test --feature-powerset
2 changes: 1 addition & 1 deletion COMMIT.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
931e2c4e43fde6a308ee9933538142ed0927f6d9
1d81c5021a21453e77ca2a0cd7f2a8006e9775ae
8 changes: 3 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ include = ["Cargo.toml", "CHANGELOG.md", "README.md", "LICENSE-MIT", "LICENSE-AP
serde = {version="1.0.186"}
serde_derive = {version="1.0.186"}
rustc-hash = {version="2", optional=true}
rkyv = { version = "0.8", optional = true }

[features]
default = []
default = [] # TODO: Remove this next time we make a breaking release

# Switch the hashmaps used in rustdoc-types to the FxHashMap from rustc-hash.
#
# This might improve performace if your are reading the rustdoc JSON from large
# crates like aws_sdk_ec2
rustc-hash = ["dep:rustc-hash"]
rkyv_0_8 = ["dep:rkyv"]

[dev-dependencies]
bincode = "1.3.3"
Expand Down
Loading