18 releases

Uses old Rust 2015

0.6.3 Dec 4, 2020
0.6.2 May 6, 2020
0.6.1 Jun 1, 2019
0.5.1 Mar 21, 2019
0.4.0 Jul 10, 2015

#39 in Data structures

Download history 74830/week @ 2021-01-14 77386/week @ 2021-01-21 84239/week @ 2021-01-28 83536/week @ 2021-02-04 78733/week @ 2021-02-11 93614/week @ 2021-02-18 88480/week @ 2021-02-25 91381/week @ 2021-03-04 91111/week @ 2021-03-11 93098/week @ 2021-03-18 106472/week @ 2021-03-25 89120/week @ 2021-04-01 102464/week @ 2021-04-08 96563/week @ 2021-04-15 93236/week @ 2021-04-22 78589/week @ 2021-04-29

324,313 downloads per month
Used in 1,450 crates (121 directly)

MIT/Apache

81KB
1.5K SLoC

bit-vec

A vector of bits.

crates.io Documentation Version
Dependency Status Build Status Download Status

Documentation is available at https://contain-rs.github.io/bit-vec/bit_vec.

Build Status crates.io

Usage

Add this to your Cargo.toml:

[dependencies]
bit-vec = "0.6"

and this to your crate root:

extern crate bit_vec;

If you want serde support, include the feature like this:

[dependencies]
bit-vec = { version = "0.6", features = ["serde"] }

If you want to use bit-vec in a program that has #![no_std], just drop default features:

[dependencies]
bit-vec = { version = "0.6", default-features = false }

Dependencies

~185KB