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

#7 in Data structures

Download history 478021/week @ 2023-11-02 524091/week @ 2023-11-09 574073/week @ 2023-11-16 577800/week @ 2023-11-23 718969/week @ 2023-11-30 636993/week @ 2023-12-07 596485/week @ 2023-12-14 337356/week @ 2023-12-21 381440/week @ 2023-12-28 577532/week @ 2024-01-04 560297/week @ 2024-01-11 651993/week @ 2024-01-18 590783/week @ 2024-01-25 619037/week @ 2024-02-01 629960/week @ 2024-02-08 468823/week @ 2024-02-15

2,419,617 downloads per month
Used in 4,963 crates (223 directly)

MIT/Apache

82KB
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

~180KB