Skip to content

Commit

Permalink
client: allow build without attesters
Browse files Browse the repository at this point in the history
For testing we only need the sample attester.
Introduce a feature to skip building all the other ones
to avoid issues with network connectivity for certain
dependencies.

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
  • Loading branch information
fitzthum committed Jan 10, 2024
1 parent ad41bd2 commit 5b741bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kbs/tools/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ base64.workspace = true
clap = { version = "4.0.29", features = ["derive"] }
env_logger.workspace = true
jwt-simple = "0.11.4"
kbs_protocol = { git = "https://github.com/confidential-containers/guest-components.git", rev = "7ddecc780c1ec03b0ef3ca9e161eea0f75fcaac0" }
kbs_protocol = { git = "https://github.com/confidential-containers/guest-components.git", rev = "7ddecc780c1ec03b0ef3ca9e161eea0f75fcaac0", default-features = false }
log.workspace = true
reqwest = { version = "0.11.18", default-features = false, features = ["cookies", "json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true
tokio.workspace = true

[features]
default = ["kbs_protocol/background_check", "kbs_protocol/passport", "kbs_protocol/rust-crypto", "kbs_protocol/all-attesters"]
sample_only = ["kbs_protocol/background_check", "kbs_protocol/passport", "kbs_protocol/rust-crypto"]

0 comments on commit 5b741bc

Please sign in to comment.