Skip to content

Commit

Permalink
Suppress warnings against use of TopLevel, bump version to 0.8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
j-devel committed Aug 21, 2024
1 parent 3735d86 commit cef3105
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minerva-voucher"
version = "0.8.10"
version = "0.8.11"
description = "Library to use BRSKI (https://datatracker.ietf.org/doc/html/rfc8995) Voucher in Rust"
edition = "2018"
authors = ["ANIMA Minerva toolkit"]
Expand Down
2 changes: 2 additions & 0 deletions src/sid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub const SID_VRQ_SERIAL_NUMBER: SidDisc = 2514;
#[repr(u64)]
#[derive(Clone, Eq, Debug)]
pub enum Sid {
#[allow(dead_code)]
VchTopLevel(TopLevel) = SID_VCH_TOP_LEVEL,
VchAssertion(Yang) = SID_VCH_ASSERTION,
VchCreatedOn(Yang) = SID_VCH_CREATED_ON,
Expand All @@ -55,6 +56,7 @@ pub enum Sid {
VchPinnedDomainPubk(Yang) = SID_VCH_PINNED_DOMAIN_PUBK,
VchPinnedDomainPubkSha256(Yang) = SID_VCH_PINNED_DOMAIN_PUBK_SHA256,
VchSerialNumber(Yang) = SID_VCH_SERIAL_NUMBER,
#[allow(dead_code)]
VrqTopLevel(TopLevel) = SID_VRQ_TOP_LEVEL,
VrqAssertion(Yang) = SID_VRQ_ASSERTION,
VrqCreatedOn(Yang) = SID_VRQ_CREATED_ON,
Expand Down

0 comments on commit cef3105

Please sign in to comment.