Skip to content

Commit 1191f82

Browse files
committed
coco_keyprovider: abondon shadow dependency
shadow is actually not used in the project. Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
1 parent f99ab83 commit 1191f82

File tree

3 files changed

+2
-88
lines changed

3 files changed

+2
-88
lines changed

Cargo.lock

Lines changed: 0 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

attestation-agent/coco_keyprovider/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ tonic.workspace = true
2828
uuid = { workspace = true, features = ["fast-rng", "v4"] }
2929

3030
[build-dependencies]
31-
shadow-rs = "1.0.1"
3231
tonic-build.workspace = true
3332

3433
[dev-dependencies]

attestation-agent/coco_keyprovider/build.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
// SPDX-License-Identifier: Apache-2.0
44
//
55

6-
use shadow_rs::{BuildPattern, ShadowBuilder};
6+
use std::io;
77

8-
fn main() -> shadow_rs::SdResult<()> {
8+
fn main() -> Result<(), io::Error> {
99
tonic_build::compile_protos("../protos/keyprovider.proto")?;
10-
ShadowBuilder::builder()
11-
.build_pattern(BuildPattern::RealTime)
12-
.build()?;
1310
Ok(())
1411
}

0 commit comments

Comments
 (0)