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

#11 in Data structures

Download history 514848/week @ 2023-12-16 282353/week @ 2023-12-23 468446/week @ 2023-12-30 582459/week @ 2024-01-06 596844/week @ 2024-01-13 613049/week @ 2024-01-20 609653/week @ 2024-01-27 621807/week @ 2024-02-03 605894/week @ 2024-02-10 628905/week @ 2024-02-17 647249/week @ 2024-02-24 675099/week @ 2024-03-02 601318/week @ 2024-03-09 637904/week @ 2024-03-16 680337/week @ 2024-03-23 602891/week @ 2024-03-30

2,624,952 downloads per month
Used in 5,177 crates (227 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

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