README.rst
1
2fixedbitset
3===========
4
5A simple bitset container for Rust
6
7Please read the `API documentation here`__
8
9__ https://docs.rs/fixedbitset/
10
11|build_status|_ |crates|_
12
13.. |build_status| image:: https://travis-ci.org/petgraph/fixedbitset.svg?branch=master
14.. _build_status: https://travis-ci.org/petgraph/fixedbitset
15
16.. |crates| image:: http://meritbadge.herokuapp.com/fixedbitset
17.. _crates: https://crates.io/crates/fixedbitset
18
19Recent Changes
20--------------
21
22- 0.2.0
23
24 + Add assign operators for the bit operations by @jrraymond
25 + Add ``symmetric_difference``, ``union_with``, ``intersection_with`` by @jrraymond
26 + Add ``is_subset``, ``is_superset``, ``is_disjoint`` by @nwn
27 + Add ``.toggle(i)`` method by @ShiroUsagi-san
28 + Add default feature "std" which can be disabled to make the crate not
29 link the std library. By @jonimake and @bluss
30 + Require Rust 1.31.
31
32- 0.1.9
33
34 + Add intersection, union, difference iterators by @jrraymond
35 + Add intersection: ``&`` and union: ``|`` operator implementations by @jrraymond
36 + Add Extend and FromIterator implementations (from sequences of bit indices)
37 by @jrraymond
38
39- 0.1.8
40
41 + Add missing ``#[inline]`` on the ones iterator
42 + Fix docs for ``insert_range, set_range``
43
44- 0.1.7
45
46 + Add fast methods ``.insert_range``, ``.set_range`` by @kennytm
47
48- 0.1.6
49
50 + Add iterator ``.ones()`` by @mneumann
51 + Fix bug with ``.count_ones()`` where it would erronously have an
52 out-of-bounds panic for even block endpoints
53
54- 0.1.5
55
56 + Add method ``.count_ones(range)``.
57
58- 0.1.4
59
60 + Remove an assertion in ``.copy_bit(from, to)`` so that it is in line
61 with the documentation. The ``from`` bit does not need to be in bounds.
62 + Improve ``.grow()`` to use ``Vec::resize`` internally.
63
64- 0.1.3
65
66 + Add method ``.put()`` to enable a bit and return previous value
67
68- 0.1.2
69
70 + Add method ``.copy_bit()`` (by fuine)
71 + impl Default
72
73- 0.1.1
74
75 + Update documentation URL
76
77- 0.1.0
78
79 + Add method ``.grow()``
80
81License
82-------
83
84Dual-licensed to be compatible with the Rust project.
85
86Licensed under the Apache License, Version 2.0
87http://www.apache.org/licenses/LICENSE-2.0 or the MIT license
88http://opensource.org/licenses/MIT, at your
89option. This file may not be copied, modified, or distributed
90except according to those terms.
91
92
93