-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump to 2018 edition This commit bumps the code to use Rust 2018. * Update Travis script to use the stable version of rustfmt and clippy * Introduce to_bytes method Even tho #2 was closed with the iter implementation, it was not enought to use with `bitfield-rle` crate. The crate takes a `AsRef<[u8]>` to encode, and the iterator returns a set of `bool`. This code uses the `Bitfield.prototype.toBuffer` logic to create the `to_bytes` method. * Use write_all to avoid clippy warnings
- Loading branch information
Showing
6 changed files
with
57 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
[package] | ||
name = "sparse-bitfield" | ||
version = "0.10.0" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/datrs/sparse-bitfield" | ||
documentation = "https://docs.rs/sparse-bitfield" | ||
description = "Bitfield that allocates a series of small buffers" | ||
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>"] | ||
readme = "README.md" | ||
name = 'sparse-bitfield' | ||
version = '0.10.0' | ||
license = 'MIT OR Apache-2.0' | ||
repository = 'https://github.com/datrs/sparse-bitfield' | ||
documentation = 'https://docs.rs/sparse-bitfield' | ||
description = 'Bitfield that allocates a series of small buffers' | ||
authors = ['Yoshua Wuyts <yoshuawuyts@gmail.com>'] | ||
readme = 'README.md' | ||
edition = '2018' | ||
|
||
[dependencies] | ||
memory-pager = "0.9.0" | ||
memory-pager = '0.9.0' | ||
|
||
[dev-dependencies] | ||
proptest = "0.9.0" | ||
proptest = '0.9.5' | ||
failure = '0.1.6' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters