Spelling of operation types is simplified, see Migration.
Attribute sets are reused between operations, improving fresh compile time up to 70%.
Migration
For structs, Push prefix is dropped. Accessing native-endian fields: st.get_field() -> st.field. For explicit-endian fields .get_field() and .set_field() proxies are still available.
Redundant "request" suffix is dropped: .op_*_{do,dump}_request() -> .op_*_{do,dump}(), same for Op*Request -> Op*.
Operation types are now don't have attribute access methods themselves, which was previously gated behind transparent: true. If you was previously using them: PushOpNewruleDoRequest (operation type itself) -> PushRuleAttrs (its respective attribute type).
PROTOCOL name constant is now of type &str, with its &Cstr alias renamed to PROTOCOL_CSTR.
Tools
Added ./scripts/collect_subsystems.sh to automatically update the lists of subsystems.
Added CONTRIBUTING.md containing documentation for the repo itself.
Configuration
📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about this update again.
If you want to rebase/retry this PR, check this box
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [netlink-socket2](https://redirect.github.com/one-d-wide/netlink-bindings) | dependencies | minor | `0.2` → `0.3` |
---
### Release Notes
<details>
<summary>one-d-wide/netlink-bindings (netlink-socket2)</summary>
### [`v0.3.0`](https://redirect.github.com/one-d-wide/netlink-bindings/releases/tag/v0.3.0)
[Compare Source](https://redirect.github.com/one-d-wide/netlink-bindings/compare/v0.2.4...v0.3.0)
#### Hightlights
- All upstream [specifications](https://redirect.github.com/one-d-wide/netlink-bindings/#support-status) are now supported :rocket:
- Multicast notifications are implemented, see the [examples](https://redirect.github.com/one-d-wide/netlink-bindings/#other-examples).
- Struct API is simplified using [native structs](https://redirect.github.com/one-d-wide/netlink-bindings/issues/11).
- Spelling of operation types is simplified, see [Migration](#migration).
- Attribute sets are reused between operations, improving fresh compile time up to 70%.
#### Migration
- For structs, `Push` prefix is dropped. Accessing native-endian fields: `st.get_field()` -> `st.field`. For explicit-endian fields `.get_field()` and `.set_field()` proxies are still available.
- Redundant "request" suffix is dropped: `.op_*_{do,dump}_request()` -> `.op_*_{do,dump}()`, same for `Op*Request` -> `Op*`.
- Operation types are now don't have attribute access methods themselves, which was previously gated behind transparent: true. If you was previously using them: `PushOpNewruleDoRequest` (operation type itself) -> `PushRuleAttrs` (its respective attribute type).
- `PROTOCOL` name constant is now of type `&str`, with its `&Cstr` alias renamed to `PROTOCOL_CSTR`.
#### Tools
- Added `./scripts/collect_subsystems.sh` to automatically update the lists of subsystems.
- Added [`CONTRIBUTING.md`](https://redirect.github.com/one-d-wide/netlink-bindings/tree/main/CONTRIBUTING.md) containing documentation for the repo itself.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Lochnair/sqm-autorate-rust).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️Warning: custom changes will be lost.
### Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ **Warning**: custom changes will be lost.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
0.2→0.3Release Notes
one-d-wide/netlink-bindings (netlink-socket2)
v0.3.0Compare Source
Hightlights
Migration
Pushprefix is dropped. Accessing native-endian fields:st.get_field()->st.field. For explicit-endian fields.get_field()and.set_field()proxies are still available..op_*_{do,dump}_request()->.op_*_{do,dump}(), same forOp*Request->Op*.PushOpNewruleDoRequest(operation type itself) ->PushRuleAttrs(its respective attribute type).PROTOCOLname constant is now of type&str, with its&Cstralias renamed toPROTOCOL_CSTR.Tools
./scripts/collect_subsystems.shto automatically update the lists of subsystems.CONTRIBUTING.mdcontaining documentation for the repo itself.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.