Skip to content

Commit

Permalink
tools: remove yellowstone-log (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvboudre authored Jul 2, 2024
1 parent 87e1755 commit 9d5b251
Show file tree
Hide file tree
Showing 26 changed files with 5 additions and 5,017 deletions.
256 changes: 2 additions & 254 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ chrono = "0.4.26"
clap = "4.3.0"
const-hex = "1.6.2"
crossbeam-channel = "0.5.8"
deepsize = "0.2.0"
env_logger = "0.10.0"
etcd-client = "0.12.4"
futures = "0.3.24"
git-version = "0.3.5"
google-cloud-googleapis = "0.11.0"
Expand All @@ -53,7 +51,6 @@ rdkafka = "0.34.0"
scylla = "0.13.0"
serde = "1.0.145"
serde_json = "1.0.86"
serde_with = "3.7.0"
serde_yaml = "0.9.25"
sha2 = "0.10.7"
solana-account-decoder = "=1.18.17"
Expand Down
2 changes: 1 addition & 1 deletion yellowstone-grpc-proto/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fn main() -> anyhow::Result<()> {
std::env::set_var("PROTOC", protobuf_src::protoc());
tonic_build::compile_protos("proto/yellowstone-log.proto")?;
tonic_build::compile_protos("proto/geyser.proto")?;
Ok(())
}
149 changes: 0 additions & 149 deletions yellowstone-grpc-proto/proto/yellowstone-log.proto

This file was deleted.

6 changes: 0 additions & 6 deletions yellowstone-grpc-proto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#![allow(clippy::large_enum_variant)]

pub mod yellowstone {
pub mod log {
tonic::include_proto!("yellowstone.log");
}
}

pub mod geyser {
tonic::include_proto!("geyser");
}
Expand Down
14 changes: 1 addition & 13 deletions yellowstone-grpc-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,23 @@ required-features = ["google-pubsub"]
name = "grpc-kafka"
required-features = ["kafka"]

[[bin]]
name = "grpc-scylladb"
required-features = ["scylladb"]

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
atty = { workspace = true }
chrono = { workspace = true, optional = true }
clap = { workspace = true, features = ["derive"] }
const-hex = { workspace = true, optional = true }
deepsize = { workspace = true, optional = true }
etcd-client = { workspace = true, optional = true }
futures = { workspace = true }
google-cloud-googleapis = { workspace = true, optional = true }
google-cloud-pubsub = { workspace = true, optional = true }
hyper = { workspace = true }
json5 = { workspace = true }
lazy_static = { workspace = true }
local-ip-address = { workspace = true, optional = true }
prometheus = { workspace = true }
scylla = { workspace = true, optional = true, features = ["chrono"] }
serde = { workspace = true }
serde_json = { workspace = true }
serde_with = { workspace = true, optional = true }
serde_yaml = { workspace = true }
sha2 = { workspace = true, optional = true }
thiserror = { workspace = true, optional = true }
tokio = { workspace = true, features = ["signal", "time"] }
tokio-stream = { workspace = true }
tonic = { workspace = true, features = ["gzip"] }
Expand Down Expand Up @@ -75,5 +64,4 @@ vergen = { workspace = true, features = ["build", "rustc"] }
[features]
default = ["google-pubsub", "kafka"]
google-pubsub = ["google-cloud-googleapis", "google-cloud-pubsub"]
kafka = ["const-hex", "rdkafka", "sha2"]
scylladb = ["scylla", "serde_with", "deepsize", "uuid", "local-ip-address", "chrono", "thiserror", "etcd-client"]
kafka = ["const-hex", "rdkafka", "sha2"]
23 changes: 0 additions & 23 deletions yellowstone-grpc-tools/config-scylladb.json

This file was deleted.

12 changes: 0 additions & 12 deletions yellowstone-grpc-tools/config-ys-log-server.json

This file was deleted.

18 changes: 0 additions & 18 deletions yellowstone-grpc-tools/grpcurl_yellowstone_log_server_example.sh

This file was deleted.

Loading

0 comments on commit 9d5b251

Please sign in to comment.