Skip to content

Commit

Permalink
Verify that we can build without default features
Browse files Browse the repository at this point in the history
  • Loading branch information
einarmo committed Feb 24, 2025
1 parent ca0e129 commit e0170b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci_clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ jobs:

- name: Run clippy
run: cargo clippy -- -D warnings

- name: No default features
run: cargo clippy --no-default-features -- -D warnings
1 change: 1 addition & 0 deletions async-opcua-macros/src/encoding/unions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use super::attribute::EncodingVariantAttribute;

pub struct AdvancedEnumVariant {
pub name: Ident,
#[allow(unused)]
pub attr: EncodingVariantAttribute,
pub is_null: bool,
}
Expand Down

0 comments on commit e0170b1

Please sign in to comment.