Skip to content

Commit

Permalink
readme: update no_std notes in readme; ci: add no_std test (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsqStephenZhang authored Jan 10, 2025
1 parent bc185b4 commit 737f3c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ jobs:
key: ${{ runner.os }}-coverage-dotcargo
- name: Run test
run: cargo test
- name: Run test(no_std, hashbrown, libm)
run: cargo test --no-default-features --features hashbrown,libm

sanitizer:
name: sanitizer
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ The MSRV for this crate is 1.55.0.
- no_std

```toml
# when 0.2.9 is published
[dependencies]
caches = { version: "0.3", default-features = false, features = ["libm", "hashbrown"] }
caches = { version = "0.3", default-features = false, features = ["libm", "hashbrown"] }
```

## Usages
Expand Down

0 comments on commit 737f3c7

Please sign in to comment.