Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a crate of grpc_stream #397

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
32 changes: 32 additions & 0 deletions rust/Cargo.lock

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

11 changes: 10 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
[workspace]
resolver = "2"

members = ["indexer-metrics", "moving-average", "processor", "server-framework"]
members = [
"aptos-indexer-transaction-stream",
"indexer-metrics",
"moving-average",
"processor",
"server-framework",
"transaction-filter",
]

[workspace.package]
authors = ["Aptos Labs <[email protected]>"]
Expand All @@ -16,6 +23,8 @@ rust-version = "1.75"
processor = { path = "processor" }
server-framework = { path = "server-framework" }
aptos-moving-average = { path = "moving-average" }
aptos-indexer-transaction-stream = { path = "aptos-indexer-transaction-stream" }
transaction-filter = { path = "transaction-filter" }

ahash = { version = "0.8.7", features = ["serde"] }
anyhow = "1.0.62"
Expand Down
30 changes: 30 additions & 0 deletions rust/aptos-indexer-transaction-stream/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[package]
name = "aptos-indexer-transaction-stream"
version = "0.1.0"

# Workspace inherited keys
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aptos-moving-average = { workspace = true }
aptos-protos = { workspace = true }
bigdecimal = { workspace = true }
chrono = { workspace = true }
futures-util = { workspace = true }
itertools = { workspace = true }
kanal = { workspace = true }
once_cell = { workspace = true }
prometheus = { workspace = true }
prost = { workspace = true }
tokio = { workspace = true }
tonic = { workspace = true }
tracing = { workspace = true }
transaction-filter = { workspace = true }
url = { workspace = true }
2 changes: 2 additions & 0 deletions rust/aptos-indexer-transaction-stream/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub mod transaction_stream;
pub mod utils;
Loading
Loading