mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
2e5d3014c7
Import the improvements made in mp4parse-rust repo. The changes would save some redundant copy when calling avif related APIs and provide the ability to get the alpha data of the parsed avif image. Differential Revision: https://phabricator.services.mozilla.com/D98950 |
||
---|---|---|
.. | ||
benches | ||
src | ||
.cargo-checksum.json | ||
Cargo.toml | ||
crusader.sh | ||
deploy-docs.sh | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
A Vec of bits.
Documentation is available at https://contain-rs.github.io/bit-vec/bit_vec.
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 }