A Vec of Bits
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Release version 0.9.0

+19 -14
+1 -1
Cargo.toml
··· 1 1 [package] 2 2 name = "bit-vec" 3 - version = "0.8.0" 3 + version = "0.9.0" 4 4 authors = ["Alexis Beingessner <a.beingessner@gmail.com>"] 5 5 license = "Apache-2.0 OR MIT" 6 6 description = "A vector of bits"
+9 -9
README.md
··· 19 19 20 20 [crates.io shield]: https://img.shields.io/crates/v/bit-vec?label=latest 21 21 [crates.io link]: https://crates.io/crates/bit-vec 22 - [docs.rs badge]: https://docs.rs/bit-vec/badge.svg?version=0.8.0 23 - [docs.rs link]: https://docs.rs/bit-vec/0.8.0/bit_vec/ 22 + [docs.rs badge]: https://docs.rs/bit-vec/badge.svg?version=0.9.0 23 + [docs.rs link]: https://docs.rs/bit-vec/0.9.0/bit_vec/ 24 24 [github ci badge]: https://github.com/contain-rs/bit-vec/actions/workflows/rust.yml/badge.svg 25 25 [rustc 1.82+]: https://img.shields.io/badge/rustc-1.82%2B-blue.svg 26 - [deps.rs status]: https://deps.rs/crate/bit-vec/0.8.0/status.svg 27 - [deps.rs link]: https://deps.rs/crate/bit-vec/0.8.0 26 + [deps.rs status]: https://deps.rs/crate/bit-vec/0.9.0/status.svg 27 + [deps.rs link]: https://deps.rs/crate/bit-vec/0.9.0 28 28 [shields.io download count]: https://img.shields.io/crates/d/bit-vec.svg 29 29 30 30 ## Usage ··· 33 33 34 34 ```toml 35 35 [dependencies] 36 - bit-vec = "0.8" 36 + bit-vec = "0.9" 37 37 ``` 38 38 39 39 If you want [serde](https://github.com/serde-rs/serde) support, include the feature like this: 40 40 41 41 ```toml 42 42 [dependencies] 43 - bit-vec = { version = "0.8", features = ["serde"] } 43 + bit-vec = { version = "0.9", features = ["serde"] } 44 44 ``` 45 45 46 46 If you want to use bit-vec in a program that has `#![no_std]`, just drop default features: 47 47 48 48 ```toml 49 49 [dependencies] 50 - bit-vec = { version = "0.8", default-features = false } 50 + bit-vec = { version = "0.9", default-features = false } 51 51 ``` 52 52 53 53 If you want to use serde with the alloc crate instead of std, just use the `serde_no_std` feature: 54 54 55 55 ```toml 56 56 [dependencies] 57 - bit-vec = { version = "0.8", default-features = false, features = ["serde", "serde_no_std"] } 57 + bit-vec = { version = "0.9", default-features = false, features = ["serde", "serde_no_std"] } 58 58 ``` 59 59 60 60 If you want [borsh-rs](https://github.com/near/borsh-rs) support, include it like this: 61 61 62 62 ```toml 63 63 [dependencies] 64 - bit-vec = { version = "0.8", features = ["borsh"] } 64 + bit-vec = { version = "0.9", features = ["borsh"] } 65 65 ``` 66 66 67 67 Other available serialization libraries can be enabled with the
+8 -3
RELEASES.md
··· 1 - Version 0.9.0 (TO BE RELEASED) 1 + Version 0.10.0 (TO BE RELEASED) 2 + ========================== 3 + 4 + <a id="v0.10.0"></a> 5 + 6 + Version 0.9.0 2 7 ========================== 3 8 4 9 <a id="v0.9.0"></a> ··· 7 12 - `fn remove` is implemented 8 13 - `fn fill` is implemented 9 14 - `fn remove_all` is implemented 10 - - `fn clear` is **deprecated** 15 + - `fn clear` is **deprecated**. Please use `.fill(false)` instead! 11 16 - `fn push_within_capacity` is implemented 12 - - `.skip(n)` on our iterators is now O(1) instead of O(n) time 17 + - bug fix: `.skip(n)` on our iterators is now O(1) instead of O(n) time 13 18 - `fn to_bytes` is optimized with a lookup table 14 19 - some clippy lints are enabled 15 20 - nanoserde version is now 0.2
+1 -1
src/lib.rs
··· 82 82 //! assert_eq!(num_primes, 1_229); 83 83 //! ``` 84 84 85 - #![doc(html_root_url = "https://docs.rs/bit-vec/0.8.0")] 85 + #![doc(html_root_url = "https://docs.rs/bit-vec/0.9.0/bit_vec/")] 86 86 #![no_std] 87 87 #![deny(clippy::shadow_reuse)] 88 88 #![deny(clippy::shadow_same)]