Skip to content

Commit

Permalink
deps: remove excessive tonic dependencies
Browse files Browse the repository at this point in the history
Remove tonic-web and tonic-reflection dependencies where they are not
required.
  • Loading branch information
mzabaluev committed Oct 14, 2024
1 parent a4ba7a6 commit 0759d9e
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 61 deletions.
51 changes: 0 additions & 51 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ toml = "0.8"
tonic = "0.11"
tonic-build = { version = "0.11", features = ["prost"] }
tonic-reflection = "0.11"
tonic-web = "0.11"
### To try (experimental) std support, add `features = [ "std" ]` to risc0-zkvm
tracing = "0.1.40"
tracing-appender = "0.2"
Expand Down
6 changes: 2 additions & 4 deletions protocol-units/da/m1/light-node-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "m1-da-light-node-grpc"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
Expand All @@ -13,8 +13,6 @@ rust-version = { workspace = true }

[dependencies]
tonic = { workspace = true }
tonic-reflection = { workspace = true }
tonic-web = { workspace = true }
prost = { workspace = true }

[build-dependencies]
Expand Down
2 changes: 0 additions & 2 deletions protocol-units/da/m1/light-node-verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ integration-tests = []
tokio = { workspace = true }
tokio-stream = { workspace = true }
tonic = { workspace = true }
tonic-reflection = { workspace = true }
tonic-web = { workspace = true }
prost = { workspace = true }
m1-da-light-node-grpc = { workspace = true, features = [] }
m1-da-light-node-util = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion protocol-units/da/m1/light-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ tokio = { workspace = true }
tokio-stream = { workspace = true }
tonic = { workspace = true }
tonic-reflection = { workspace = true }
tonic-web = { workspace = true }
prost = { workspace = true }
m1-da-light-node-grpc = { workspace = true, features = ["server"] }
m1-da-light-node-util = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions protocol-units/da/m1/util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ path = "src/bin/wait_for_light_node.rs"
tokio = { workspace = true }
tokio-stream = { workspace = true }
tonic = { workspace = true }
tonic-reflection = { workspace = true }
tonic-web = { workspace = true }
prost = { workspace = true }
m1-da-light-node-grpc = { workspace = true, features = [] }
celestia-rpc = { workspace = true }
Expand Down

0 comments on commit 0759d9e

Please sign in to comment.