Skip to content

Commit

Permalink
tonic crate
Browse files Browse the repository at this point in the history
  • Loading branch information
fl0rek committed Nov 5, 2024
1 parent 6b60e86 commit 489a65f
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 681 deletions.
19 changes: 18 additions & 1 deletion 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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["cli", "node", "node-wasm", "proto", "rpc", "types"]
members = ["cli", "node", "node-wasm", "proto", "rpc", "tonic", "types"]

[workspace.dependencies]
blockstore = "0.7.0"
Expand Down
2 changes: 0 additions & 2 deletions rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ tracing = "0.1.40"
http = "1.1.0"
jsonrpsee = { version = "0.24.2", features = ["http-client", "ws-client"] }
pbjson-types = "0.7.0"
tonic = { version = "0.12.3", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
libp2p = { workspace = true, features = [
Expand All @@ -60,7 +59,6 @@ wasm-bindgen-test = "0.3.42"

[features]
default = ["p2p", "secp256k1"]
tonic = ["celestia-proto/tonic", "dep:tonic"]
p2p = ["celestia-types/p2p"]
wasm-bindgen = ["celestia-types/wasm-bindgen", "jsonrpsee/wasm-client"]
secp256k1 = ["celestia-tendermint/secp256k1"]
Expand Down
2 changes: 0 additions & 2 deletions rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ mod header;
mod p2p;
pub mod share;
mod state;
#[cfg(all(feature = "tonic", not(target_arch = "wasm32")))]
pub mod tonic;

pub use crate::blob::BlobClient;
#[cfg(any(
Expand Down
270 changes: 0 additions & 270 deletions rpc/src/tonic/mod.rs

This file was deleted.

19 changes: 0 additions & 19 deletions rpc/src/tonic/tendermint.rs

This file was deleted.

Loading

0 comments on commit 489a65f

Please sign in to comment.