]> git.lizzy.rs Git - enumset.git/log
enumset.git
14 months agoAdd serialize_as_map master
Lizzy Fleckenstein [Wed, 1 Feb 2023 14:19:44 +0000 (15:19 +0100)]
Add serialize_as_map

18 months agoMerge branch 'master' of github.com:Lymia/enumset
Alissa Rao [Mon, 3 Oct 2022 01:59:44 +0000 (18:59 -0700)]
Merge branch 'master' of github.com:Lymia/enumset

18 months agoBump version to 1.0.12
Alissa Rao [Mon, 3 Oct 2022 01:59:00 +0000 (18:59 -0700)]
Bump version to 1.0.12

18 months agoCreate dependabot.yml
Alissa Rao [Mon, 3 Oct 2022 01:54:38 +0000 (18:54 -0700)]
Create dependabot.yml

18 months agoUse Github Actions for the badge rather tha travis CI.
Alissa Rao [Mon, 3 Oct 2022 01:32:52 +0000 (18:32 -0700)]
Use Github Actions for the badge rather tha travis CI.

18 months agoMove and rename Github Actions workflow
Alissa Rao [Mon, 3 Oct 2022 01:31:01 +0000 (18:31 -0700)]
Move and rename Github Actions workflow

18 months agoUse Github Actions exclusively instead of travis.
Alissa Rao [Sun, 2 Oct 2022 21:50:31 +0000 (14:50 -0700)]
Use Github Actions exclusively instead of travis.

18 months agoUpdate tests for latest nightly.
Alissa Rao [Sun, 2 Oct 2022 21:37:29 +0000 (14:37 -0700)]
Update tests for latest nightly.

18 months agoMerge pull request #38 from ComunidadAylas/master
Alissa Rao [Sun, 2 Oct 2022 21:07:16 +0000 (14:07 -0700)]
Merge pull request #38 from ComunidadAylas/master

Update darling crate to 0.14.x

18 months agoUpdate darling crate to 0.14.x
Alejandro González [Sun, 2 Oct 2022 13:58:33 +0000 (15:58 +0200)]
Update darling crate to 0.14.x

A semver-breaking version of the darling crate was released just a few
days after the last release of enumset, and other crates of the Rust
ecosystem, such as serde_with, have moved to the newer version.

Even though enumset works just fine anyway, it is a good idea to update
because that way Cargo doesn't need to download and build two different
versions of the same crate for the same application, which negatively
impacts the executable size. Moreover, some automated analysis tools
such as `cargo deny` rightfully warn about this condition.

This commit just bumps the darling version to the latest one. I've
looked at the darling changelog and I don't think that enumset is
impacted by any breaking changes. To confirm this, I've successfully run
the test suite with `cargo test`.

2 years agoBump version to 1.0.11
Alissa Rao [Tue, 12 Apr 2022 10:31:59 +0000 (03:31 -0700)]
Bump version to 1.0.11

2 years agoMinor clarification to documentation for serialize_repr
Alissa Rao [Tue, 12 Apr 2022 10:20:04 +0000 (03:20 -0700)]
Minor clarification to documentation for serialize_repr

2 years agoAdd from_*_unchecked variants for all data types.
Alissa Rao [Tue, 12 Apr 2022 10:18:44 +0000 (03:18 -0700)]
Add from_*_unchecked variants for all data types.

2 years agoOpps, used feature from too new a Rust version.
Alissa Rao [Tue, 12 Apr 2022 10:11:20 +0000 (03:11 -0700)]
Opps, used feature from too new a Rust version.

2 years agoUnify some redundant code between the variant count checks for repr/serialize_repr
Alissa Rao [Tue, 12 Apr 2022 10:03:32 +0000 (03:03 -0700)]
Unify some redundant code between the variant count checks for repr/serialize_repr

2 years agoUse rustfmt to ensure consistant style.
Alissa Rao [Tue, 12 Apr 2022 09:58:47 +0000 (02:58 -0700)]
Use rustfmt to ensure consistant style.

2 years agoAdd `repr` option to derive.
ahcodedthat [Tue, 12 Apr 2022 06:55:20 +0000 (23:55 -0700)]
Add `repr` option to derive.

2 years agoBump version to 1.0.10
Alissa Rao [Tue, 5 Apr 2022 08:01:27 +0000 (01:01 -0700)]
Bump version to 1.0.10

2 years agoUpdate documentation to reflect proc-macro-crate not being available by default anymore.
Alissa Rao [Tue, 5 Apr 2022 07:56:07 +0000 (00:56 -0700)]
Update documentation to reflect proc-macro-crate not being available by default anymore.

2 years agoAdd a new std feature for enumset. Fixes #34
Alissa Rao [Tue, 5 Apr 2022 07:50:15 +0000 (00:50 -0700)]
Add a new std feature for enumset. Fixes #34

2 years agoFix Travis CI link for the README.md badge.
Alissa Rao [Tue, 5 Apr 2022 07:08:19 +0000 (00:08 -0700)]
Fix Travis CI link for the README.md badge.

2 years agoBump version to 1.0.9
Alissa Rao [Mon, 4 Apr 2022 08:06:52 +0000 (01:06 -0700)]
Bump version to 1.0.9

2 years agoImplement DoubleEndedIterator for EnumSet.
Alissa Rao [Mon, 4 Apr 2022 08:00:13 +0000 (01:00 -0700)]
Implement DoubleEndedIterator for EnumSet.

2 years agoUse proc-macro-crate to allow easier use when enumset is renamed.
Alissa Rao [Mon, 4 Apr 2022 07:56:10 +0000 (00:56 -0700)]
Use proc-macro-crate to allow easier use when enumset is renamed.

2 years agoAdd tests for the iteration order of enumsets.
Alissa Rao [Mon, 4 Apr 2022 07:48:04 +0000 (00:48 -0700)]
Add tests for the iteration order of enumsets.

2 years agoUpdate the documentation for enumset to clarify the underlying integer reprsentation.
Alissa Rao [Mon, 4 Apr 2022 07:45:33 +0000 (00:45 -0700)]
Update the documentation for enumset to clarify the underlying integer reprsentation.

2 years agoSuppress certain clippy warnings. Fixes #28.
Alissa Rao [Mon, 4 Apr 2022 07:34:52 +0000 (00:34 -0700)]
Suppress certain clippy warnings. Fixes #28.

2 years agoUpdate documentation for recent changes and clean it up a little.
Alissa Rao [Mon, 4 Apr 2022 07:23:34 +0000 (00:23 -0700)]
Update documentation for recent changes and clean it up a little.

2 years agoUpdate MSRV to 1.36.0 due to updates to dependencies.
Alissa Rao [Mon, 4 Apr 2022 06:42:29 +0000 (23:42 -0700)]
Update MSRV to 1.36.0 due to updates to dependencies.

2 years agoMerge pull request #31 from ahcodedthat/no_super_impls
Alissa Rao [Mon, 4 Apr 2022 06:35:23 +0000 (23:35 -0700)]
Merge pull request #31 from ahcodedthat/no_super_impls

Allow deriving `EnumSetType` without `Clone + Copy + Eq + PartialEq`

2 years agoAdd `no_super_impls` option to `EnumSetType` derive.
ahcodedthat [Mon, 4 Apr 2022 02:48:21 +0000 (19:48 -0700)]
Add `no_super_impls` option to `EnumSetType` derive.

2 years agoMerge pull request #29 from glandium/darling-features
Alissa Rao [Sun, 3 Apr 2022 12:51:17 +0000 (05:51 -0700)]
Merge pull request #29 from glandium/darling-features

Disable default features in darling

2 years agoDisable default features in darling
Mike Hommey [Fri, 21 Jan 2022 04:56:34 +0000 (13:56 +0900)]
Disable default features in darling

2 years agoBump version to 1.0.8
Alissa Rao [Thu, 4 Nov 2021 22:54:38 +0000 (15:54 -0700)]
Bump version to 1.0.8

2 years agoAdd contributor credit for pull requests.
Alissa Rao [Tue, 31 Aug 2021 10:56:03 +0000 (03:56 -0700)]
Add contributor credit for pull requests.

2 years agoTag very simple functions with `#[inline(always)]` to improve speed on non-LTO builds.
Alissa Rao [Tue, 31 Aug 2021 10:47:41 +0000 (03:47 -0700)]
Tag very simple functions with `#[inline(always)]` to improve speed on non-LTO builds.

2 years agoMove EnumSetIter into a named struct, in case I want to go fancier in the future.
Alissa Rao [Tue, 31 Aug 2021 10:33:51 +0000 (03:33 -0700)]
Move EnumSetIter into a named struct, in case I want to go fancier in the future.

2 years agouse trailing zeros count for iteration
MinusKelvin [Mon, 30 Aug 2021 05:02:30 +0000 (15:02 +1000)]
use trailing zeros count for iteration

2 years agoUpdate ui test output.
Alissa Rao [Mon, 5 Jul 2021 21:36:14 +0000 (14:36 -0700)]
Update ui test output.

2 years agoBump version to 1.0.7
Alissa Rao [Mon, 5 Jul 2021 21:18:15 +0000 (14:18 -0700)]
Bump version to 1.0.7

2 years agoMerge branch 'master' of github.com:Lymia/enumset
Alissa Rao [Mon, 5 Jul 2021 21:15:56 +0000 (14:15 -0700)]
Merge branch 'master' of github.com:Lymia/enumset

2 years agoUpdate version of darling.
Alissa Rao [Mon, 5 Jul 2021 21:10:08 +0000 (14:10 -0700)]
Update version of darling.

2 years agoFix a clippy warning in EnumSet.
Alissa Rao [Mon, 5 Jul 2021 21:07:53 +0000 (14:07 -0700)]
Fix a clippy warning in EnumSet.

3 years agoMerge pull request #23 from Riey/master
Alissa Rao [Thu, 15 Apr 2021 08:23:58 +0000 (01:23 -0700)]
Merge pull request #23 from Riey/master

Add #[repr(transparent)]

3 years agoAdd #[repr(transparent)]
Riey [Thu, 15 Apr 2021 06:55:06 +0000 (15:55 +0900)]
Add #[repr(transparent)]

3 years agoBump version to 1.0.6
Alissa Rao [Sat, 27 Feb 2021 20:39:07 +0000 (12:39 -0800)]
Bump version to 1.0.6

3 years agoAdd a test for a 1 value enum_set!
Alissa Rao [Sat, 27 Feb 2021 20:37:36 +0000 (12:37 -0800)]
Add a test for a 1 value enum_set!

3 years agoFix enum_set! macro giving an unneeded warning for a single value.
Alissa Rao [Sat, 27 Feb 2021 20:35:44 +0000 (12:35 -0800)]
Fix enum_set! macro giving an unneeded warning for a single value.

3 years agoBump version to 1.0.5
Alissa Rao [Wed, 24 Feb 2021 18:13:02 +0000 (10:13 -0800)]
Bump version to 1.0.5

3 years agoAcknowledge that our MSRV is actually 1.34+, not 1.31+.
Alissa Rao [Wed, 24 Feb 2021 18:02:04 +0000 (10:02 -0800)]
Acknowledge that our MSRV is actually 1.34+, not 1.31+.

3 years agoImplement core::iter::Sum for EnumSet<T>
Alissa Rao [Wed, 24 Feb 2021 17:24:46 +0000 (09:24 -0800)]
Implement core::iter::Sum for EnumSet<T>

3 years agoMerge pull request #21 from coolreader18/update-dep
Alissa Rao [Wed, 24 Feb 2021 17:01:51 +0000 (09:01 -0800)]
Merge pull request #21 from coolreader18/update-dep

Update darling dep to 0.12

3 years agoUpdate darling dep to 0.12
Noah [Fri, 19 Feb 2021 18:04:45 +0000 (12:04 -0600)]
Update darling dep to 0.12

3 years agoBump version to 1.0.4
Alissa Rao [Mon, 8 Feb 2021 05:18:08 +0000 (21:18 -0800)]
Bump version to 1.0.4

3 years agoFully qualify all references to `EnumSet` in `enumset_derive`. Fixes #20.
Alissa Rao [Mon, 8 Feb 2021 05:16:08 +0000 (21:16 -0800)]
Fully qualify all references to `EnumSet` in `enumset_derive`. Fixes #20.

3 years agoRelease 1.0.3
Alissa Rao [Wed, 27 Jan 2021 15:21:54 +0000 (07:21 -0800)]
Release 1.0.3

3 years agoAdd LICENSE and README files to both crate distributions.
Alissa Rao [Wed, 27 Jan 2021 15:19:35 +0000 (07:19 -0800)]
Add LICENSE and README files to both crate distributions.

3 years agoTemporarily disable minimum version tests.
Alissa Rao [Wed, 27 Jan 2021 15:08:25 +0000 (07:08 -0800)]
Temporarily disable minimum version tests.

3 years agoFix README to point to travis-ci.com
Alissa Rao [Mon, 25 Jan 2021 23:20:47 +0000 (15:20 -0800)]
Fix README to point to travis-ci.com

3 years agoRelease 1.0.2
Alissa Rao [Mon, 25 Jan 2021 22:19:03 +0000 (14:19 -0800)]
Release 1.0.2

3 years agoMerge branch 'master' of github.com:Lymia/enumset
Alissa Rao [Mon, 25 Jan 2021 22:17:23 +0000 (14:17 -0800)]
Merge branch 'master' of github.com:Lymia/enumset

3 years agoMerge pull request #18 from ocboogie/span-fix
Alissa Rao [Mon, 25 Jan 2021 22:16:59 +0000 (14:16 -0800)]
Merge pull request #18 from ocboogie/span-fix

Import Span from proc_macro2 instead of syn

3 years agoImport Span from proc_macro2 instead of syn
ocboogie [Tue, 5 Jan 2021 23:35:24 +0000 (15:35 -0800)]
Import Span from proc_macro2 instead of syn

3 years agoUpdated RELEASES.md
Lymia Aluysia [Sun, 9 Aug 2020 13:06:26 +0000 (06:06 -0700)]
Updated RELEASES.md

3 years agoUpdate version to 1.0.1
Lymia Aluysia [Sun, 9 Aug 2020 12:59:21 +0000 (05:59 -0700)]
Update version to 1.0.1

3 years agoMerge pull request #15 from dmarcuse/master
Alissa Rao [Sat, 30 May 2020 21:20:54 +0000 (14:20 -0700)]
Merge pull request #15 from dmarcuse/master

Implement ExactSizeIterator for EnumSetIter

3 years agoImplement ExactSizeIterator for EnumSetIter
Dana Marcuse [Fri, 29 May 2020 19:58:47 +0000 (15:58 -0400)]
Implement ExactSizeIterator for EnumSetIter

4 years agoSplit repr into its own module.
Lymia Aluysia [Mon, 13 Apr 2020 23:58:18 +0000 (16:58 -0700)]
Split repr into its own module.

4 years agoSeperate and_not out into its own operation.
Lymia Aluysia [Mon, 13 Apr 2020 23:45:20 +0000 (16:45 -0700)]
Seperate and_not out into its own operation.

4 years agoRemove dependency on num_traits.
Lymia Aluysia [Mon, 13 Apr 2020 23:15:52 +0000 (16:15 -0700)]
Remove dependency on num_traits.

4 years agoUse const fns for enum_set! instead of a weird hack.
Lymia Aluysia [Mon, 6 Apr 2020 12:54:15 +0000 (05:54 -0700)]
Use const fns for enum_set! instead of a weird hack.

4 years agoI don't know why I'm still developing this under a pesudonym.
Lymia Aluysia [Mon, 6 Apr 2020 11:21:30 +0000 (04:21 -0700)]
I don't know why I'm still developing this under a pesudonym.

4 years agoMove badges to the right Cargo.toml file.
Lymia Aluysia [Mon, 6 Apr 2020 11:15:10 +0000 (04:15 -0700)]
Move badges to the right Cargo.toml file.

4 years agoPrepare for 1.0 release.
Lymia Aluysia [Mon, 6 Apr 2020 11:12:55 +0000 (04:12 -0700)]
Prepare for 1.0 release.

4 years agoFix tests for real.
Lymia Aluysia [Sun, 5 Apr 2020 02:36:12 +0000 (19:36 -0700)]
Fix tests for real.

4 years agoTemporarily disable benchmarks due to criterion not working on 1.31
Lymia Aluysia [Sat, 4 Apr 2020 23:39:33 +0000 (16:39 -0700)]
Temporarily disable benchmarks due to criterion not working on 1.31

4 years agoDocumentation improvements.
Lymia Aluysia [Sat, 4 Apr 2020 22:19:05 +0000 (15:19 -0700)]
Documentation improvements.

4 years agoAdd support for renaming the enumset crate.
Lymia Aluysia [Sat, 4 Apr 2020 21:04:46 +0000 (14:04 -0700)]
Add support for renaming the enumset crate.

4 years agoRename internal module to __internal.
Lymia Aluysia [Sat, 4 Apr 2020 20:57:48 +0000 (13:57 -0700)]
Rename internal module to __internal.

4 years agoAdd better tests and basic benchmarks.
Lymia Aluysia [Sat, 4 Apr 2020 20:54:51 +0000 (13:54 -0700)]
Add better tests and basic benchmarks.

4 years agoMake enumset_derive more resiliant against potential future changes to the representa...
Lymia Aluysia [Sat, 4 Apr 2020 20:52:14 +0000 (13:52 -0700)]
Make enumset_derive more resiliant against potential future changes to the representation of enums.

4 years agoAdded FromIterator/Extend operations for iterators of EnumSets.
Lymia Aluysia [Sat, 4 Apr 2020 19:52:03 +0000 (12:52 -0700)]
Added FromIterator/Extend operations for iterators of EnumSets.

4 years agoRename from_u128/to_u128 series slightly.
Lymia Aluysia [Sat, 4 Apr 2020 19:45:37 +0000 (12:45 -0700)]
Rename from_u128/to_u128 series slightly.

4 years agoRefactor enumset_derive in preperation for future changes.
Lymia Aluysia [Sat, 4 Apr 2020 19:22:12 +0000 (12:22 -0700)]
Refactor enumset_derive in preperation for future changes.

4 years agoTest in release in case we have memory unsafety exposed by optimizations.
Lymia Aluysia [Sat, 4 Apr 2020 19:18:03 +0000 (12:18 -0700)]
Test in release in case we have memory unsafety exposed by optimizations.

4 years agoRemove unused `nightly` flag.
Lymia Aluysia [Wed, 1 Apr 2020 18:35:13 +0000 (11:35 -0700)]
Remove unused `nightly` flag.

4 years agoRun ui tests only on nightly to avoid subtle format differences.
Lymia Aluysia [Wed, 1 Apr 2020 18:34:04 +0000 (11:34 -0700)]
Run ui tests only on nightly to avoid subtle format differences.

4 years agoFix version check.
Lymia Aluysia [Wed, 1 Apr 2020 18:23:32 +0000 (11:23 -0700)]
Fix version check.

4 years agoFix travis tests.
Lymia Aluysia [Wed, 1 Apr 2020 18:20:50 +0000 (11:20 -0700)]
Fix travis tests.

4 years agoAdd UI tests.
Lymia Aluysia [Wed, 1 Apr 2020 18:14:54 +0000 (11:14 -0700)]
Add UI tests.

4 years agoUse u32 instead of u8 for variant count related methods.
Lymia Aluysia [Wed, 1 Apr 2020 17:47:06 +0000 (10:47 -0700)]
Use u32 instead of u8 for variant count related methods.

4 years agoFix tests on 1.31
Lymia Aluysia [Wed, 1 Apr 2020 16:22:22 +0000 (09:22 -0700)]
Fix tests on 1.31

4 years agoAdd badges.
Lymia Aluysia [Wed, 1 Apr 2020 16:21:25 +0000 (09:21 -0700)]
Add badges.

4 years agoReplace from_bits/to_bits with a series of conversion functions.
Lymia Aluysia [Wed, 1 Apr 2020 16:17:24 +0000 (09:17 -0700)]
Replace from_bits/to_bits with a series of conversion functions.

4 years agoFix from_bits_safe.
Lymia Aluysia [Mon, 30 Mar 2020 13:58:21 +0000 (06:58 -0700)]
Fix from_bits_safe.

4 years agoUpdate documentation for change to EnumSet::insert.
Lymia Aluysia [Mon, 30 Mar 2020 13:42:14 +0000 (06:42 -0700)]
Update documentation for change to EnumSet::insert.

4 years agoMerge pull request #13 from epavese/insert_return_consistent
Lymia Aluysia [Mon, 30 Mar 2020 13:41:58 +0000 (06:41 -0700)]
Merge pull request #13 from epavese/insert_return_consistent

return value for insert() was inconsistent with std sets

4 years agoClarify various documentation.
Lymia Aluysia [Mon, 30 Mar 2020 13:40:15 +0000 (06:40 -0700)]
Clarify various documentation.

4 years agoreturn value for insert() was inconsistent with std sets
Esteban Pavese [Tue, 3 Mar 2020 11:45:35 +0000 (12:45 +0100)]
return value for insert() was inconsistent with std sets

4 years agoBump version.
Lymia Aluysia [Wed, 19 Feb 2020 13:47:22 +0000 (05:47 -0800)]
Bump version.