gecko-dev/third_party/rust/fixedbitset
Dzmitry Malyshau 313f426df3 Bug 1729751 - Update wgpu and ron 3rd parties r=jimb
Brings a few important fixes:
  - better WGSL support
  - Solaris build (1729751)
  - crash in "_MTLCommandEncoder dealloc" (1729648)

Differential Revision: https://phabricator.services.mozilla.com/D125103
2021-09-10 18:24:02 +00:00
..
benches
src Bug 1729751 - Update wgpu and ron 3rd parties r=jimb 2021-09-10 18:24:02 +00:00
.cargo-checksum.json Bug 1729751 - Update wgpu and ron 3rd parties r=jimb 2021-09-10 18:24:02 +00:00
Cargo.toml Bug 1729751 - Update wgpu and ron 3rd parties r=jimb 2021-09-10 18:24:02 +00:00
LICENSE-APACHE
LICENSE-MIT
README.rst Bug 1729751 - Update wgpu and ron 3rd parties r=jimb 2021-09-10 18:24:02 +00:00

README.rst

fixedbitset
===========

A simple bitset container for Rust

Please read the `API documentation here`__

__ https://docs.rs/fixedbitset/

|build_status|_ |crates|_

.. |build_status| image:: https://github.com/petgraph/fixedbitset/workflows/Continuous%20integration/badge.svg?branch=master
.. _build_status: https://github.com/petgraph/fixedbitset/actions

.. |crates| image:: http://meritbadge.herokuapp.com/fixedbitset
.. _crates: https://crates.io/crates/fixedbitset

Recent Changes
--------------
- 0.4.0

  + `#61`_: Require Rust 1.39.
  + `#60`_: Add `const` `FixedBitSet::new` consructor by @jakobhellermann.
  + `#59`_: Add optional `serde` support by @keshavsn.

- 0.3.2

  + `#18`_: Optimize `ones` using `trailing_zeroes` by @vks

- 0.3.1

  + Add bit assign operators for references by @flaghacker
  + Improve assertion error messages by @lovasoa
  + Add documentation examples for ``with_capacity_and_blocks``

- 0.3.0

  + Add ``with_capacity_and_blocks`` by @luizirber
  + Add ``difference_with`` by @sunshowers
  + Implement ``Binary`` and ``Display`` traits by @Dolphindalt
  + Add ``toggle_range`` by @wirelyre

- 0.2.0

  + Add assign operators for the bit operations by @jrraymond
  + Add ``symmetric_difference``, ``union_with``, ``intersection_with`` by @jrraymond
  + Add ``is_subset``, ``is_superset``, ``is_disjoint`` by @nwn
  + Add ``.toggle(i)`` method by @ShiroUsagi-san
  + Add default feature "std" which can be disabled to make the crate not
    link the std library. By @jonimake and @bluss
  + Require Rust 1.31.

- 0.1.9

  + Add intersection, union, difference iterators by @jrraymond
  + Add intersection: ``&`` and union: ``|`` operator implementations by @jrraymond
  + Add Extend and FromIterator implementations (from sequences of bit indices)
    by @jrraymond

- 0.1.8

  + Add missing ``#[inline]`` on the ones iterator
  + Fix docs for ``insert_range, set_range``

- 0.1.7

  + Add fast methods ``.insert_range``, ``.set_range`` by @kennytm

- 0.1.6

  + Add iterator ``.ones()`` by @mneumann
  + Fix bug with ``.count_ones()`` where it would erronously have an
    out-of-bounds panic for even block endpoints

- 0.1.5

  + Add method ``.count_ones(range)``.

- 0.1.4

  + Remove an assertion in ``.copy_bit(from, to)`` so that it is in line
    with the documentation. The ``from`` bit does not need to be in bounds.
  + Improve ``.grow()`` to use ``Vec::resize`` internally.

- 0.1.3

  + Add method ``.put()`` to enable a bit and return previous value

- 0.1.2

  + Add method ``.copy_bit()`` (by fuine)
  + impl Default

- 0.1.1

  + Update documentation URL

- 0.1.0

  + Add method ``.grow()``

License
-------

Dual-licensed to be compatible with the Rust project.

Licensed under the Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0 or the MIT license
http://opensource.org/licenses/MIT, at your
option. This file may not be copied, modified, or distributed
except according to those terms.

.. _#18: https://github.com/petgraph/fixedbitset/pull/18
.. _#59: https://github.com/petgraph/fixedbitset/pull/59
.. _#60: https://github.com/petgraph/fixedbitset/pull/60
.. _#61: https://github.com/petgraph/fixedbitset/pull/61