Skip to content

Commit

Permalink
bump version and document serde support in README
Browse files Browse the repository at this point in the history
  • Loading branch information
droundy committed Aug 18, 2022
1 parent 9edf01d commit 0a6cfcc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tinyset"
version = "0.4.12"
version = "0.4.13"
authors = ["David Roundy <[email protected]>"]
categories = ["data-structures"]
keywords = ["set", "small", "compact"]
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,22 @@ store values directly in a way that can be referenced. All of the
type-specific sets further differ in that `remove` and `contains`
accept values rather than references.

This crate has a single optional dependency (enabled by default), which
is the `rand` crate, used for randomization to avoid DOS collision attacks.
This crate has an optional dependency on the `rand` crate (enabled by default),
used for randomization to avoid DOS collision attacks.
You can speed up your compile by disabling this feature with
```
tinyset = { version = "0.4", default-features = false }
```
which will result in using a very simple pseudorandom number generator
seeded by the system time.

There is a second optional dependency on `serde`, which serializes sets in
non-compressed form. You can use
```
tinyset = { version = "0.4.13", features = ["serde"] }
```
to enable this feature.

# Benchmarks

To run the benchmark suite, run
Expand Down

0 comments on commit 0a6cfcc

Please sign in to comment.