c_enum! now has some extra syntax to allow directly applying attributes to the generated impl block.
Changed
It is now only possible to define a single enum instance within a c_enum!. This is to allow additional syntax in the future that is not supported when the macro allows multiple enum definitions.
c_enum! can now handle enums with more than 128 variants without hitting
the macro recursion limit. Enums with more than 10k variants will still hit
it eventually but this is less likely to be an issue for most.
0.2.2 - 2023-10-23
Changed
c_enum! will now emit the error message about multiple declarations in a
block in most cases matching needing to be migrated to v0.2.0.
0.2.1 - 2023-10-23
Changed
c_enum! will now emit a custom error message indicating that declaring
multiple enums in a single c_enum! block is not supported anymore.
0.2.0 - 2023-10-23
Added
c_enum! now has some extra syntax to allow directly applying attributes to
the generated impl block.
Changed
It is now only possible to define a single enum instance within a c_enum!.
This is to allow additional syntax in the future that is not supported when
the macro allows multiple enum definitions.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the cargo-dependencies group with 12 updates:
0.18.3
0.18.4
1.0.202
1.0.203
1.4.1+v1.4.0
1.4.2+v1.4.2
0.7.2
0.7.3
4.0.0
4.0.1
0.1.2
0.2.3
0.18.3
0.18.4
0.12.2
0.12.3
0.1.4
0.1.6
5.0.3
5.0.4
1.0.83
1.0.84
1.0.202
1.0.203
Updates
ouroboros
from 0.18.3 to 0.18.4Commits
Updates
serde
from 1.0.202 to 1.0.203Release notes
Sourced from serde's releases.
Commits
d5bc546
Release 1.0.20345ae217
Merge pull request #2747 from dtolnay/variadicb7b97dd
Unindent implementation inside tuple_impl_body macro5d3c563
Document tuple impls as fake variadic3761854
Merge pull request #2745 from dtolnay/docsrsa8f1484
Rely on docs.rs to define --cfg=docsrs by defaultUpdates
libbpf-sys
from 1.4.1+v1.4.0 to 1.4.2+v1.4.2Commits
Updates
perf-event2
from 0.7.2 to 0.7.3Commits
36f7921
v0.7.369994af
Add builder convenience method to Group (#44)6c89790
Update nix to 0.2918d4b69
Fix a conditional in the dynamic_msr_event test (#43)78797bd
Update the c_enum crate to v0.2 (#42)Updates
brotli-decompressor
from 4.0.0 to 4.0.1Commits
e726333
Bump version now that the io does not panic12a68ac
Support cargo-fuzzc5c93d9
Return EOF error if writer returnsOk(0)
Updates
c-enum
from 0.1.2 to 0.2.3Release notes
Sourced from c-enum's releases.
Changelog
Sourced from c-enum's changelog.
Commits
e91f465
v0.2.3ea51ab4
Match multiple fields at a time in order to support larger enums9f462eb
v0.2.2f794902
Improve the cases in which c_enum! will detect multiple declarationsd78cb0d
Add a missing pub to the generated code example (#12)d9d4991
v0.2.17ef6f82
Improve error messages for multiple enums in a c_enum! block (#11)119b106
v0.2.0 (#10)39b3917
Allow setting attributes on the generated impl block (#9)c568104
Only allow a single struct definition per c_enum! macro (#8)Updates
ouroboros_macro
from 0.18.3 to 0.18.4Commits
Updates
parking_lot
from 0.12.2 to 0.12.3Changelog
Sourced from parking_lot's changelog.
Commits
a29dd3d
Release parking_lot 0.12.3f7efcae
Merge pull request #442 from iwanders/add-arc_lock-feature-top-level-exportsc357017
Export types provided by arc_lock feature.Updates
perf-event-data
from 0.1.4 to 0.1.6Changelog
Sourced from perf-event-data's changelog.
Commits
Updates
perf-event-open-sys2
from 5.0.3 to 5.0.4Commits
d331387
Release sys-v5.0.486bbde3
Allow direct access to inline union fields on perf_event_attr (#46)197cb21
Generate bindings against linux 6.9.2 (#45)36f7921
v0.7.369994af
Add builder convenience method to Group (#44)6c89790
Update nix to 0.2918d4b69
Fix a conditional in the dynamic_msr_event test (#43)78797bd
Update the c_enum crate to v0.2 (#42)27fa0a7
v0.7.2 (#41)5e960c8
Rewrite the top-level README (#40)Updates
proc-macro2
from 1.0.83 to 1.0.84Release notes
Sourced from proc-macro2's releases.
Commits
33c9578
Release 1.0.84d850da5
Merge pull request #455 from CensoredUsername/mastereabac15
Add a warning to Delimiter::None that rustc currently does not respect it.Updates
serde_derive
from 1.0.202 to 1.0.203Release notes
Sourced from serde_derive's releases.
Commits
d5bc546
Release 1.0.20345ae217
Merge pull request #2747 from dtolnay/variadicb7b97dd
Unindent implementation inside tuple_impl_body macro5d3c563
Document tuple impls as fake variadic3761854
Merge pull request #2745 from dtolnay/docsrsa8f1484
Rely on docs.rs to define --cfg=docsrs by defaultDependabot 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 show