Skip to content

Split out policy file (de)serialization to a subcrate - #935

Merged
bal-e merged 6 commits into
mainfrom
policy-file-subcrate
Aug 11, 2026
Merged

Split out policy file (de)serialization to a subcrate#935
bal-e merged 6 commits into
mainfrom
policy-file-subcrate

Conversation

@bal-e

@bal-e bal-e commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This is necessary for #684 to programmatically create and adjust policy files.


  • If you are changing Rust code or integration tests (Cargo.*, crates/, etc/, integration-tests/, src/):
    • Did you run the integration tests with act through the act-wrapper (as described in TESTING.md)?

@bal-e bal-e self-assigned this Jul 31, 2026
@bal-e
bal-e force-pushed the policy-file-subcrate branch 2 times, most recently from f0ab9df to 28e84a0 Compare July 31, 2026 14:59
Comment thread crates/policy-file/src/lib.rs Outdated
@ximon18

ximon18 commented Aug 7, 2026

Copy link
Copy Markdown
Member

Other than the TimeSpan visibility issue I am able to use this to update to ods2cascade to use latest Cascade, see NLnetLabs/ods2cascade#70.

@ximon18

ximon18 commented Aug 7, 2026

Copy link
Copy Markdown
Member

LGTM: Maybe @Philip-NLnetLabs should look at the way fields have been renamed and moved around?

@Philip-NLnetLabs

Copy link
Copy Markdown
Member

I see some minor changes that should be fine. Maybe I missed something. @ximon18 anything specific?

@ximon18

ximon18 commented Aug 7, 2026

Copy link
Copy Markdown
Member

I see some minor changes that should be fine. Maybe I missed something. @ximon18 anything specific?

No, just that in the past you have identified changes in policy field names or how policy is structured that you thought should be different so I thought it was to have you take a look at this.

@bal-e
bal-e merged commit 3a755b1 into main Aug 11, 2026
9 checks passed
@bal-e
bal-e deleted the policy-file-subcrate branch August 11, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot build from source: error: std feature is currently required to build clap

3 participants