Skip to content

Commit

Permalink
Changed Tss-esapi dependency to be optional (#58)
Browse files Browse the repository at this point in the history
- Bump: tss-esapi to version 7.5.1
- Tss-esapi dependency is now optional required only for attester and verifier features

Signed-off-by: Pawel Proskurnicki <[email protected]>
  • Loading branch information
pawelpros authored Sep 5, 2024
1 parent 96a1b5d commit a9d6b21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions az-cvm-vtpm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ serde-big-array = "0.5.1"
sev.workspace = true
sha2 = "0.10.8"
thiserror.workspace = true
tss-esapi = "7.5"
tss-esapi = { version = "7.5.1", optional = true }
zerocopy.workspace = true

[features]
tpm = ["tss-esapi"]
default = ["attester", "verifier"]
attester = []
verifier = ["openssl", "sev/openssl"]
attester = ["tpm"]
verifier = ["openssl", "sev/openssl", "tpm"]

[workspace.dependencies]
bincode = "1.3.1"
Expand Down
1 change: 1 addition & 0 deletions az-cvm-vtpm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

pub mod hcl;
pub mod tdx;
#[cfg(feature = "tpm")]
pub mod vtpm;

0 comments on commit a9d6b21

Please sign in to comment.