Skip to content

Commit a57c18a

Browse files
authored
refactor(spire-api): use spiffe 0.8 grpc + non-mut client (#212)
* refactor(spire-api): use spiffe 0.8 with grpc feature + non-mut client Signed-off-by: Max Lambrecht <[email protected]> * Fix directive Signed-off-by: Max Lambrecht <[email protected]> --------- Signed-off-by: Max Lambrecht <[email protected]>
1 parent ac51bcb commit a57c18a

File tree

4 files changed

+273
-163
lines changed

4 files changed

+273
-163
lines changed

spire-api/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@ categories = ["cryptography"]
1313
keywords = ["SPIFFE", "SPIRE"]
1414

1515
[dependencies]
16-
spiffe = "0.7.4"
17-
tonic = { version = "0.14.0", default-features = false, features = ["codegen", "transport"]}
16+
spiffe = { version = "0.8", features = ["grpc"] }
17+
tonic = { version = "0.14.0", default-features = false, features = ["transport"]}
1818
prost = { version = "0.14.0" }
1919
tonic-prost = "0.14"
2020
tokio = { "version" = "1", features = ["net"]}
2121
tokio-stream = "0.1"
22-
tower = { version = "0.5", features = ["util"] }
23-
hyper-util = { version = "0.1.8", default-features = false }
2422

2523
[dev-dependencies]
26-
tokio = { version = "1", features = ["macros"] }
2724
once_cell = "1"
2825

2926
[features]

0 commit comments

Comments
 (0)