This patch restores the cursor module and its types, as aliases to the order
module and their equivalents, with a deprecation warning. Removing these names
entirely, without a deprecation redirect, is technically permissible but morally
in error.
Changed
In addition, the Bits trait has been renamed to AsBits, to better reflect
its behavior and reduce the chances of name collision, as it is a prelude
export.
Removed
The AsBits::as_{mut_,}bitslice deprecation aliases have been removed.
0.17.0
Added
BitField trait now has {load,store}_{le,be} methods for explicitly
choosing element order when performing storage. The load/store methods
default to the target’s byte endiannes as a convenience. These may be
deprecated in the future, if the explicit choice is strongly preferred.
See the module and trait documentation for more detail.
GitHub user [@mystor] provided a bits! macro in [Pull Request #34] which
enables compile-time construction of &'static BitSlice<O, T> regions. This
macro is currently limited to working with the literal BitOrder
implementator names Local, Lsb0, and Msb0. This is a restriction in the
Rust language (identifiers are not yet associated with types during macro
expansion), and bitvec does not promise to expand support to other names or
types in the future.
usize implements BitStore, and is now the default type argument.
Changed
Rename the cursor module to order, the Cursor trait to BitOrder, and
the BigEndian and LittleEndian types to Msb0 and Lsb0, respectively
Fold BitsMut into Bits
Removed
The Rust types T, [T; 0 <= N <= 32], and [T] for T: BitStore no longer
implement AsRef<BitSlice<_, T>> or AsMut<BitSlice<_, T>>. This decision was
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on bitvec to permit the latest version.
Changelog
Sourced from bitvec's changelog.
Commits
a90e931
Patch for0.17.1
2c3318e
Address lints5977bbb
HaveBitVec::split_off
use the betterToOwned
implementation2def994
AccelerateBitSlice::rotate
functions0094efc
Work on a docs pass7cb4ebd
Use*mut BitSlice
instead ofBitPtr
for theraw_parts
interchange type2ef62fd
Restore thebitvec!
capacity for runtime lengthsf7d48e1
Add some more constructor benchmarksd347563
Fixed a typo.98c4eb6
Implement misalignedBitVec
support for faster clone fromBitSlice
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)