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

#12 in Data structures

Download history 708198/week @ 2023-11-29 643548/week @ 2023-12-06 614649/week @ 2023-12-13 388104/week @ 2023-12-20 339873/week @ 2023-12-27 566228/week @ 2024-01-03 554355/week @ 2024-01-10 653061/week @ 2024-01-17 587490/week @ 2024-01-24 620555/week @ 2024-01-31 628559/week @ 2024-02-07 575735/week @ 2024-02-14 660262/week @ 2024-02-21 678077/week @ 2024-02-28 625966/week @ 2024-03-06 499774/week @ 2024-03-13

2,572,610 downloads per month
Used in 5,116 crates (225 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

~185KB