Skip to content

Commit

Permalink
External references validation (#40)
Browse files Browse the repository at this point in the history
* added xoev-xwasser-codelists crate

* introduce validate option to xoev_xwasser_code attr macro, added validation trait

* added extra trait for codelist value validation

* default container implementations for XWasserValidate

* split into modules

* draft derive for XWasserValidate

* implement XWasserValidate for all, no enum support yet

* XWasserValidate for enums

* simplify proc attr macro for code validation

* restore builder for codelists

* shorten uses

* require rust 1.81 due to cargo check failure

* put validation/codelists behind feature

* mark external codelists
  • Loading branch information
kilork authored Nov 13, 2024
1 parent ba12be1 commit 2b96888
Show file tree
Hide file tree
Showing 114 changed files with 356,523 additions and 229 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@1.78.0
- uses: dtolnay/rust-toolchain@1.81.0
- name: get-cmake
uses: lukka/get-cmake@latest
- uses: jetli/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@1.78.0
- uses: dtolnay/rust-toolchain@1.81.0
- name: get-cmake
uses: lukka/get-cmake@latest
- name: Publish to crates.io.
run: |
cargo publish --token ${CRATES_TOKEN} -p xoev-xwasser-derive
cargo publish --token ${CRATES_TOKEN} -p xoev-xwasser-codelists
cargo publish --token ${CRATES_TOKEN} -p xoev-xwasser
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
Expand Down
Loading

0 comments on commit 2b96888

Please sign in to comment.