Skip to content

Commit

Permalink
yay
Browse files Browse the repository at this point in the history
  • Loading branch information
just-in-chang committed Jun 26, 2024
1 parent 67e9c46 commit f9e9c30
Show file tree
Hide file tree
Showing 14 changed files with 1,044 additions and 9 deletions.
156 changes: 156 additions & 0 deletions rust/Cargo.lock

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

7 changes: 6 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage = "https://aptoslabs.com"
license = "Apache-2.0"
publish = false
repository = "https://github.com/aptos-labs/aptos-indexer-processors"
rust-version = "1.75"
rust-version = "1.78"

[workspace.dependencies]
processor = { path = "processor" }
Expand All @@ -20,6 +20,7 @@ aptos-moving-average = { path = "moving-average" }
ahash = { version = "0.8.7", features = ["serde"] }
anyhow = "1.0.62"
aptos-protos = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "d76b5bb423b78b2b9affc72d3853f0d973d3f11f" }
aptos-in-memory-cache = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "07952ba261dd8301581e449e26ce17bbbc1adc46" }
aptos-system-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "4541add3fd29826ec57f22658ca286d2d6134b93" }
async-trait = "0.1.53"
backtrace = "0.3.58"
Expand All @@ -30,6 +31,7 @@ bigdecimal = { version = "0.4.0", features = ["serde"] }
bitflags = "2.5.0"
chrono = { version = "0.4.19", features = ["clock", "serde"] }
clap = { version = "4.3.5", features = ["derive", "unstable-styles"] }
dashmap = "5.2.0"
# Do NOT enable the postgres feature here, it is conditionally enabled in a feature
# block in the Cargo.toml file for the processor crate.
# https://github.com/aptos-labs/aptos-indexer-processors/pull/325
Expand All @@ -54,6 +56,7 @@ field_count = "0.1.1"
futures = "0.3.30"
futures-core = "0.3.25"
futures-util = "0.3.21"
get-size = { version = "0.1.4", features = ["derive"] }
gcloud-sdk = { version = "0.20.4", features = [
"google-cloud-bigquery-storage-v1",
] }
Expand All @@ -73,6 +76,7 @@ pbjson = "0.5.1"
prometheus = { version = "0.13.0", default-features = false }
prost = { version = "0.12.3", features = ["no-recursion-limit"] }
prost-types = "0.12.3"
quick_cache = "0.4.1"
regex = "1.5.5"
reqwest = { version = "0.11.20", features = [
"blocking",
Expand All @@ -91,6 +95,7 @@ toml = "0.7.4"
tracing-subscriber = { version = "0.3.17", features = ["json", "env-filter"] }
tiny-keccak = { version = "2.0.2", features = ["keccak", "sha3"] }
tokio = { version = "1.35.1", features = ["full"] }
tokio-util = { version = "0.7.2", features = ["compat", "codec"] }
tonic = { version = "0.11.0", features = [
"tls",
"tls-roots",
Expand Down
5 changes: 5 additions & 0 deletions rust/processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ rust-version = { workspace = true }
[dependencies]
ahash = { workspace = true }
anyhow = { workspace = true }
aptos-in-memory-cache = { workspace = true }
aptos-moving-average = { workspace = true }
aptos-protos = { workspace = true }
async-trait = { workspace = true }
Expand All @@ -23,13 +24,15 @@ bigdecimal = { workspace = true }
bitflags = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true }
dashmap = { workspace = true }
diesel = { workspace = true }
diesel-async = { workspace = true }
diesel_migrations = { workspace = true }
enum_dispatch = { workspace = true }
field_count = { workspace = true }
futures = { workspace = true }
futures-util = { workspace = true }
get-size = { workspace = true }
google-cloud-googleapis = { workspace = true }
google-cloud-pubsub = { workspace = true }
hex = { workspace = true }
Expand All @@ -48,10 +51,12 @@ sha2 = { workspace = true }
sha3 = { workspace = true }
strum = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }
tonic = { workspace = true }
tracing = { workspace = true }
unescape = { workspace = true }
url = { workspace = true }
warp = { workspace = true }

# Postgres SSL support
native-tls = { workspace = true }
Expand Down
Loading

0 comments on commit f9e9c30

Please sign in to comment.