Skip to content

Commit 051ba58

Browse files
authored
Merge pull request #486 from tienvx/implement-xml-generators
feat: Implement generators for XML
2 parents 20fbbe6 + 141b87d commit 051ba58

3 files changed

Lines changed: 872 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
strategy:
1919
matrix:
2020
include:
21-
- operating-system: ubuntu-20.04
21+
- operating-system: ubuntu-22.04
2222
targets: x86_64-unknown-linux-gnu
23-
- operating-system: ubuntu-20.04
23+
- operating-system: ubuntu-22.04
2424
targets: x86_64-unknown-linux-musl
25-
- operating-system: ubuntu-20.04
25+
- operating-system: ubuntu-22.04
2626
targets: aarch64-unknown-linux-gnu
27-
- operating-system: ubuntu-20.04
27+
- operating-system: ubuntu-22.04
2828
targets: aarch64-unknown-linux-musl
2929
- operating-system: windows-2019
3030
targets: x86_64-pc-windows-msvc
@@ -108,6 +108,7 @@ jobs:
108108
working-directory: rust/pact_ffi
109109

110110
- name: Upload Release Assets
111+
if: ${{ github.event_name == 'release' }}
111112
uses: svenstaro/upload-release-action@v2
112113
with:
113114
repo_token: ${{ secrets.GITHUB_TOKEN }}

rust/pact_models/src/generators/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ use crate::path_exp::DocPath;
3434
#[cfg(feature = "datetime")] mod date_expression_parser;
3535
#[cfg(feature = "datetime")] mod time_expression_parser;
3636
#[cfg(feature = "form_urlencoded")] pub mod form_urlencoded;
37+
#[cfg(feature = "xml")] pub mod xml;
3738

3839
/// Trait to represent matching logic to find a matching variant for the Array Contains generator
3940
pub trait VariantMatcher: Debug {

0 commit comments

Comments
 (0)