Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bit-set"
version = "0.9.1"
version = "0.10.0"
authors = ["Alexis Beingessner <a.beingessner@gmail.com>"]
license = "Apache-2.0 OR MIT"
description = "A set of bits"
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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),
Expand All @@ -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
Expand Down
9 changes: 8 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
Version 0.10.0 (not yet released)
Version 0.11.0 (not yet released)
========================================================

<a id="v0.11.0"></a>

Version 0.10.0
========================================================

<a id="v0.10.0"></a>

- Publicly expose vec's `BitBlock`

Version 0.9.1
========================================================

Expand Down
6 changes: 4 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -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;
Expand Down
Loading