]> git.lizzy.rs Git - bit-set.git/log
bit-set.git
14 months agoAdd serde support master
Lizzy Fleckenstein [Wed, 1 Feb 2023 17:32:06 +0000 (18:32 +0100)]
Add serde support

21 months agov0.5.3 release
Aria Beingessner [Sat, 23 Jul 2022 00:33:00 +0000 (20:33 -0400)]
v0.5.3 release

fixes a bug where shrink_to_fit didn't actually do a shrink, and also
would panic if it would empty out the collection. no UB, just wrong.

21 months agoproperly implement shrink_to_fit.
Aria Beingessner [Sat, 23 Jul 2022 00:30:52 +0000 (20:30 -0400)]
properly implement shrink_to_fit.

For whatever reason it treated 1 as the minimum number of blocks and would corrupt
itself if it was already at 0 blocks. It also never actualy did a shrink_to_fit,
it just told the underlying bit_vec that it had less initialized blocks.

So all around just a buggy mess. Thankfully although the bit_set code is 'unsafe'
it wasn't ever actually a memory-safety issue. The unsafe here is a reservation
from bit_vec to be more dangerous, but the implementation never actually has any
unsafe code of its own, so this was just state corruption that would crash,
similar to feeding a bad Ord impl into a BTreeMap. Bad, but not a vulnerability.

Fixes #25

2 years agoUpdate README.md
Aria Beingessner [Sat, 16 Apr 2022 20:39:39 +0000 (16:39 -0400)]
Update README.md

2 years agoAdd github ci
Aria Beingessner [Sat, 16 Apr 2022 20:38:46 +0000 (16:38 -0400)]
Add github ci

2 years agofixup clippy
Aria Beingessner [Sat, 16 Apr 2022 20:36:28 +0000 (16:36 -0400)]
fixup clippy

2 years agofmt everything
Aria Beingessner [Sat, 16 Apr 2022 20:35:24 +0000 (16:35 -0400)]
fmt everything

3 years ago0.5.2 release
Alexis Beingessner [Wed, 6 May 2020 13:37:16 +0000 (09:37 -0400)]
0.5.2 release

3 years agoMerge branch 'master' of github.com:contain-rs/bit-set
Alexis Beingessner [Wed, 6 May 2020 13:36:51 +0000 (09:36 -0400)]
Merge branch 'master' of github.com:contain-rs/bit-set

4 years agoMerge pull request #18 from wfarner/bit-vec
Alexis Beingessner [Mon, 7 Oct 2019 13:11:02 +0000 (09:11 -0400)]
Merge pull request #18 from wfarner/bit-vec

Upgrade to bit-vec 0.6.1

4 years agoUpgrade to bit-vec 0.6.1
Bill Farner [Fri, 4 Oct 2019 22:07:17 +0000 (15:07 -0700)]
Upgrade to bit-vec 0.6.1

5 years ago0.5.1 release
Alexis Beingessner [Thu, 21 Mar 2019 01:03:10 +0000 (21:03 -0400)]
0.5.1 release

6 years agoMerge pull request #15 from ZackPierce/no_std_support
Alexis Beingessner [Mon, 23 Apr 2018 20:03:19 +0000 (16:03 -0400)]
Merge pull request #15 from ZackPierce/no_std_support

Support usage in a no_std + alloc environment

6 years agoVersion bump to 0.5.0
Zachary Pierce [Fri, 20 Apr 2018 21:42:52 +0000 (14:42 -0700)]
Version bump to 0.5.0

6 years agoPipe features through to bit-vec, depend on no_std compatible version
Zachary Pierce [Fri, 20 Apr 2018 21:33:36 +0000 (14:33 -0700)]
Pipe features through to bit-vec, depend on no_std compatible version

6 years agoExplicit no_std attribute and use of core rather than std
Zachary Pierce [Fri, 20 Apr 2018 18:04:54 +0000 (11:04 -0700)]
Explicit no_std attribute and use of core rather than std

6 years agoIndicate that we're in maintenance mode
Alexis Beingessner [Wed, 26 Jul 2017 19:06:57 +0000 (15:06 -0400)]
Indicate that we're in maintenance mode

8 years agoMerge pull request #9 from apasel422/update
Jonathan Reem [Fri, 11 Mar 2016 02:24:36 +0000 (18:24 -0800)]
Merge pull request #9 from apasel422/update

Assorted updates

8 years agoBump version
Andrew Paseltiner [Fri, 11 Mar 2016 00:28:21 +0000 (19:28 -0500)]
Bump version

8 years agoOverride `clone_from`
Andrew Paseltiner [Fri, 11 Mar 2016 00:23:35 +0000 (19:23 -0500)]
Override `clone_from`

8 years agoSimplify impls
Andrew Paseltiner [Fri, 11 Mar 2016 00:05:18 +0000 (19:05 -0500)]
Simplify impls

8 years agoTidy formatting
Andrew Paseltiner [Fri, 11 Mar 2016 00:01:15 +0000 (19:01 -0500)]
Tidy formatting

8 years agoReplace wildcard dependencies
Andrew Paseltiner [Thu, 10 Mar 2016 23:56:04 +0000 (18:56 -0500)]
Replace wildcard dependencies

8 years agoUse correct text for MIT license
Andrew Paseltiner [Thu, 10 Mar 2016 23:55:22 +0000 (18:55 -0500)]
Use correct text for MIT license

Closes #8.

8 years agoMerge pull request #7 from tsion/by-value-remove-and-contains
Alexis Beingessner [Sun, 17 Jan 2016 14:56:52 +0000 (09:56 -0500)]
Merge pull request #7 from tsion/by-value-remove-and-contains

Switch from &usize to usize for contains and remove.

8 years agoSwitch from &usize to usize for contains/remove.
Scott Olson [Tue, 12 Jan 2016 21:49:21 +0000 (15:49 -0600)]
Switch from &usize to usize for contains/remove.

Closes #5.

8 years agoMerge pull request #4 from contain-rs/metadata
Alexis Beingessner [Sun, 7 Jun 2015 18:11:43 +0000 (11:11 -0700)]
Merge pull request #4 from contain-rs/metadata

Add keyword and travis, crates.io badges

8 years agoAdd travis & crates.io badges to readme
root [Sun, 7 Jun 2015 10:33:48 +0000 (12:33 +0200)]
Add travis & crates.io badges to readme

8 years agoCargo.toml: Mention 'bitset' in the keywords
root [Sun, 7 Jun 2015 10:30:42 +0000 (12:30 +0200)]
Cargo.toml: Mention 'bitset' in the keywords

8 years agoMerge pull request #3 from contain-rs/upgroid
bluss [Thu, 4 Jun 2015 19:40:02 +0000 (21:40 +0200)]
Merge pull request #3 from contain-rs/upgroid

Upgroid

8 years agoadd back tests, benches, upgroid travis
Alexis Beingessner [Thu, 4 Jun 2015 17:39:30 +0000 (10:39 -0700)]
add back tests, benches, upgroid travis

8 years agoupdate to newest bit-vec, add from_bytes, fix doc-tests, remove feature(core)
Alexis Beingessner [Thu, 4 Jun 2015 17:26:00 +0000 (10:26 -0700)]
update to newest bit-vec, add from_bytes, fix doc-tests, remove feature(core)

8 years agofixup toml
Alexis Beingessner [Wed, 3 Jun 2015 01:12:39 +0000 (18:12 -0700)]
fixup toml

8 years agoinitial port of bitset
Alexis Beingessner [Wed, 3 Jun 2015 01:11:46 +0000 (18:11 -0700)]
initial port of bitset