Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Sep 29, 2020
1 parent ff80165 commit 39f5ade
Show file tree
Hide file tree
Showing 8 changed files with 361 additions and 305 deletions.
63 changes: 0 additions & 63 deletions Cargo.lock

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

4 changes: 0 additions & 4 deletions storage-bigtable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ futures = "0.3.5"
tonic = {version="0.3.0", features = ["tls", "transport"]}
zstd = "0.5.1"

[build-dependencies]
prost-build = "0.6"
protobuf = "1.2"

[lib]
crate-type = ["lib"]
name = "solana_storage_bigtable"
Expand Down
16 changes: 16 additions & 0 deletions storage-bigtable/build-proto/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,21 @@ fn main() -> Result<(), std::io::Error> {
.compile(
&[googleapis.join("google/bigtable/v2/bigtable.proto")],
&[googleapis],
)?;

let out_dir = manifest_dir.join("../src/proto");
let proto_files = manifest_dir.join("../src/proto");

println!("Protobuf directory: {}", proto_files.display());
println!("output directory: {}", out_dir.display());

tonic_build::configure()
.build_client(true)
.build_server(false)
.format(true)
.out_dir(&out_dir)
.compile(
&[proto_files.join("confirmed_block.proto")],
&[proto_files],
)
}
17 changes: 0 additions & 17 deletions storage-bigtable/build.rs

This file was deleted.

Loading

0 comments on commit 39f5ade

Please sign in to comment.