Skip to content

Commit

Permalink
chore(deps): update shadow_rs to v0.37.0
Browse files Browse the repository at this point in the history
Close confidential-containers#847

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
  • Loading branch information
Xynnn007 committed Dec 17, 2024
1 parent 64b2e7e commit b2a78f6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion attestation-agent/coco_keyprovider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tonic.workspace = true
uuid = { workspace = true, features = ["fast-rng", "v4"] }

[build-dependencies]
shadow-rs = "0.36.0"
shadow-rs = "0.37.0"
tonic-build.workspace = true

[dev-dependencies]
Expand Down
7 changes: 6 additions & 1 deletion attestation-agent/coco_keyprovider/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
// SPDX-License-Identifier: Apache-2.0
//

use shadow_rs::{BuildPattern, ShadowBuilder};

fn main() -> shadow_rs::SdResult<()> {
tonic_build::compile_protos("../protos/keyprovider.proto")?;
shadow_rs::new()
ShadowBuilder::builder()
.build_pattern(BuildPattern::RealTime)
.build()?;
Ok(())
}

0 comments on commit b2a78f6

Please sign in to comment.