diff --git a/Cargo.toml b/Cargo.toml index 4468388..1922e0b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bit-set" -version = "0.9.1" +version = "0.10.0" authors = ["Alexis Beingessner "] license = "Apache-2.0 OR MIT" description = "A set of bits" diff --git a/README.md b/README.md index 3a11531..8448b0f 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,12 @@ [crates.io shield]: https://img.shields.io/crates/v/bit-set?label=latest [crates.io link]: https://crates.io/crates/bit-set -[docs.rs badge]: https://docs.rs/bit-set/badge.svg?version=0.9.1 -[docs.rs link]: https://docs.rs/bit-set/0.9.1/bit_set/ +[docs.rs badge]: https://docs.rs/bit-set/badge.svg?version=0.10.0 +[docs.rs link]: https://docs.rs/bit-set/0.10.0/bit_set/ [github ci badge]: https://github.com/contain-rs/bit-set/actions/workflows/rust.yml/badge.svg [rustc 1.82+]: https://img.shields.io/badge/rustc-1.82%2B-blue.svg -[deps.rs status]: https://deps.rs/crate/bit-set/0.9.1/status.svg -[deps.rs link]: https://deps.rs/crate/bit-set/0.9.1 +[deps.rs status]: https://deps.rs/crate/bit-set/0.10.0/status.svg +[deps.rs link]: https://deps.rs/crate/bit-set/0.10.0 [shields.io download count]: https://img.shields.io/crates/d/bit-set.svg ## Usage @@ -33,7 +33,7 @@ Add this to your Cargo.toml: ```toml [dependencies] -bit-set = "0.9" +bit-set = "0.10" ``` Since Rust 2018, `extern crate` is no longer mandatory. If your edition is old (Rust 2015), @@ -47,28 +47,28 @@ If you want to use `serde`, enable it with the `serde` feature: ```toml [dependencies] -bit-set = { version = "0.9", features = ["serde"] } +bit-set = { version = "0.10", features = ["serde"] } ``` If you want to use bit-set in a program that has `#![no_std]`, just drop default features: ```toml [dependencies] -bit-set = { version = "0.9", default-features = false } +bit-set = { version = "0.10", default-features = false } ``` If you want to use serde with the alloc crate instead of std, just use the `serde_no_std` feature: ```toml [dependencies] -bit-set = { version = "0.9", default-features = false, features = ["serde", "serde_no_std"] } +bit-set = { version = "0.10", default-features = false, features = ["serde", "serde_no_std"] } ``` If you want [borsh-rs](https://github.com/near/borsh-rs) support, include it like this: ```toml [dependencies] -bit-set = { version = "0.9", features = ["borsh"] } +bit-set = { version = "0.10", features = ["borsh"] } ``` Other available serialization libraries can be enabled with the diff --git a/RELEASES.md b/RELEASES.md index e268148..4a1aa3e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,8 +1,15 @@ -Version 0.10.0 (not yet released) +Version 0.11.0 (not yet released) +======================================================== + + + +Version 0.10.0 ======================================================== +- Publicly expose vec's `BitBlock` + Version 0.9.1 ======================================================== diff --git a/src/lib.rs b/src/lib.rs index c5a6a39..51e9aba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,7 +48,7 @@ //! let bv = s.into_bit_vec(); //! assert!(bv[3]); //! ``` -#![doc(html_root_url = "https://docs.rs/bit-set/0.9.0/bit_set/")] +#![doc(html_root_url = "https://docs.rs/bit-set/0.10.0/bit_set/")] #![deny(clippy::shadow_reuse)] #![deny(clippy::shadow_same)] #![deny(clippy::shadow_unrelated)] @@ -57,7 +57,9 @@ #[cfg(any(test, feature = "std"))] extern crate std; -use bit_vec::{BitBlock, BitVec, Blocks}; +pub use bit_vec::BitBlock; + +use bit_vec::{BitVec, Blocks}; use core::cmp; use core::cmp::Ordering; use core::fmt;