Skip to content

Commit

Permalink
as: Don't use all-verifier features
Browse files Browse the repository at this point in the history
The verifier/all-verifier option is already enabled with the default
build. Yet, if a user wants to optionally compile with a subset of
verifiers, they cannot due so unless disabling the all-verifier feature
in the dependency.

Signed-off-by: Tyler Fanelli <[email protected]>
  • Loading branch information
tylerfanelli authored and fitzthum committed Nov 7, 2024
1 parent b08377e commit c09afeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions attestation-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[features]
default = [ "restful-bin", "rvps-grpc", "rvps-builtin" ]
default = [ "restful-bin", "rvps-grpc", "rvps-builtin", "all-verifier" ]
all-verifier = [ "verifier/all-verifier" ]
tdx-verifier = [ "verifier/tdx-verifier" ]
sgx-verifier = [ "verifier/sgx-verifier" ]
Expand Down Expand Up @@ -66,7 +66,7 @@ tonic = { workspace = true, optional = true }
uuid = { version = "1.1.2", features = ["v4"] }

[target.'cfg(not(target_arch = "s390x"))'.dependencies]
verifier = { path = "../deps/verifier", default-features = false, features = ["all-verifier"] }
verifier = { path = "../deps/verifier", default-features = false }

[target.'cfg(target_arch = "s390x")'.dependencies]
verifier = { path = "../deps/verifier", default-features = false, features = ["se-verifier"] }
Expand Down

0 comments on commit c09afeb

Please sign in to comment.