···11[package]
22name = "bit-vec"
33-version = "0.8.0"
33+version = "0.9.0"
44authors = ["Alexis Beingessner <a.beingessner@gmail.com>"]
55license = "Apache-2.0 OR MIT"
66description = "A vector of bits"
+9-9
README.md
···19192020[crates.io shield]: https://img.shields.io/crates/v/bit-vec?label=latest
2121[crates.io link]: https://crates.io/crates/bit-vec
2222-[docs.rs badge]: https://docs.rs/bit-vec/badge.svg?version=0.8.0
2323-[docs.rs link]: https://docs.rs/bit-vec/0.8.0/bit_vec/
2222+[docs.rs badge]: https://docs.rs/bit-vec/badge.svg?version=0.9.0
2323+[docs.rs link]: https://docs.rs/bit-vec/0.9.0/bit_vec/
2424[github ci badge]: https://github.com/contain-rs/bit-vec/actions/workflows/rust.yml/badge.svg
2525[rustc 1.82+]: https://img.shields.io/badge/rustc-1.82%2B-blue.svg
2626-[deps.rs status]: https://deps.rs/crate/bit-vec/0.8.0/status.svg
2727-[deps.rs link]: https://deps.rs/crate/bit-vec/0.8.0
2626+[deps.rs status]: https://deps.rs/crate/bit-vec/0.9.0/status.svg
2727+[deps.rs link]: https://deps.rs/crate/bit-vec/0.9.0
2828[shields.io download count]: https://img.shields.io/crates/d/bit-vec.svg
29293030## Usage
···33333434```toml
3535[dependencies]
3636-bit-vec = "0.8"
3636+bit-vec = "0.9"
3737```
38383939If you want [serde](https://github.com/serde-rs/serde) support, include the feature like this:
40404141```toml
4242[dependencies]
4343-bit-vec = { version = "0.8", features = ["serde"] }
4343+bit-vec = { version = "0.9", features = ["serde"] }
4444```
45454646If you want to use bit-vec in a program that has `#![no_std]`, just drop default features:
47474848```toml
4949[dependencies]
5050-bit-vec = { version = "0.8", default-features = false }
5050+bit-vec = { version = "0.9", default-features = false }
5151```
52525353If you want to use serde with the alloc crate instead of std, just use the `serde_no_std` feature:
54545555```toml
5656[dependencies]
5757-bit-vec = { version = "0.8", default-features = false, features = ["serde", "serde_no_std"] }
5757+bit-vec = { version = "0.9", default-features = false, features = ["serde", "serde_no_std"] }
5858```
59596060If you want [borsh-rs](https://github.com/near/borsh-rs) support, include it like this:
61616262```toml
6363[dependencies]
6464-bit-vec = { version = "0.8", features = ["borsh"] }
6464+bit-vec = { version = "0.9", features = ["borsh"] }
6565```
66666767Other available serialization libraries can be enabled with the
+8-3
RELEASES.md
···11-Version 0.9.0 (TO BE RELEASED)
11+Version 0.10.0 (TO BE RELEASED)
22+==========================
33+44+<a id="v0.10.0"></a>
55+66+Version 0.9.0
27==========================
3849<a id="v0.9.0"></a>
···712- `fn remove` is implemented
813- `fn fill` is implemented
914- `fn remove_all` is implemented
1010-- `fn clear` is **deprecated**
1515+- `fn clear` is **deprecated**. Please use `.fill(false)` instead!
1116- `fn push_within_capacity` is implemented
1212-- `.skip(n)` on our iterators is now O(1) instead of O(n) time
1717+- bug fix: `.skip(n)` on our iterators is now O(1) instead of O(n) time
1318- `fn to_bytes` is optimized with a lookup table
1419- some clippy lints are enabled
1520- nanoserde version is now 0.2