From d89d7b3c05dccd0b9ad21b055b38e909151f5af1 Mon Sep 17 00:00:00 2001 From: Larry Liu Date: Fri, 19 Jul 2024 22:46:12 -0700 Subject: [PATCH 1/3] fix the windows build. --- rust/processor/Cargo.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rust/processor/Cargo.toml b/rust/processor/Cargo.toml index 2d7edb53b..0001afb2c 100644 --- a/rust/processor/Cargo.toml +++ b/rust/processor/Cargo.toml @@ -59,20 +59,19 @@ postgres-native-tls = { workspace = true } tiny-keccak = { workspace = true } tokio-postgres = { workspace = true } -[target.'cfg(unix)'.dependencies] -jemallocator = { workspace = true } - # Parquet support parquet = { workspace = true } num = { workspace = true } google-cloud-storage = { workspace = true } hyper = { workspace = true } -lazy_static = { workspace = true } parquet_derive = { workspace = true } canonical_json = { workspace = true } allocative = { workspace = true } allocative_derive = { workspace = true } +[target.'cfg(unix)'.dependencies] +jemallocator = { workspace = true } + [features] libpq = ["diesel/postgres"] # When using the default features we enable the diesel/postgres feature. We configure From 4e0edeee19c93eb0d2d980b5aa8f56b6162a55c4 Mon Sep 17 00:00:00 2001 From: Larry Liu Date: Fri, 19 Jul 2024 22:53:30 -0700 Subject: [PATCH 2/3] fix the windows build. --- rust/processor/Cargo.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rust/processor/Cargo.toml b/rust/processor/Cargo.toml index 0001afb2c..4084923a7 100644 --- a/rust/processor/Cargo.toml +++ b/rust/processor/Cargo.toml @@ -52,22 +52,22 @@ tonic = { workspace = true } tracing = { workspace = true } unescape = { workspace = true } url = { workspace = true } +allocative = { workspace = true } +allocative_derive = { workspace = true } +canonical_json = { workspace = true } +google-cloud-storage = { workspace = true } +hyper = { workspace = true } # Postgres SSL support native-tls = { workspace = true } +num = { workspace = true } postgres-native-tls = { workspace = true } tiny-keccak = { workspace = true } tokio-postgres = { workspace = true } # Parquet support parquet = { workspace = true } -num = { workspace = true } -google-cloud-storage = { workspace = true } -hyper = { workspace = true } parquet_derive = { workspace = true } -canonical_json = { workspace = true } -allocative = { workspace = true } -allocative_derive = { workspace = true } [target.'cfg(unix)'.dependencies] jemallocator = { workspace = true } From 9be9dccbad4e5d2b516c705c50d5d4f2cf2fd830 Mon Sep 17 00:00:00 2001 From: Larry Liu Date: Fri, 19 Jul 2024 22:58:18 -0700 Subject: [PATCH 3/3] fix the windows build. --- rust/processor/Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rust/processor/Cargo.toml b/rust/processor/Cargo.toml index 4084923a7..1fbb57cbd 100644 --- a/rust/processor/Cargo.toml +++ b/rust/processor/Cargo.toml @@ -14,6 +14,8 @@ rust-version = { workspace = true } [dependencies] ahash = { workspace = true } +allocative = { workspace = true } +allocative_derive = { workspace = true } anyhow = { workspace = true } aptos-moving-average = { workspace = true } aptos-protos = { workspace = true } @@ -21,6 +23,7 @@ async-trait = { workspace = true } bcs = { workspace = true } bigdecimal = { workspace = true } bitflags = { workspace = true } +canonical_json = { workspace = true } chrono = { workspace = true } clap = { workspace = true } diesel = { workspace = true } @@ -32,7 +35,9 @@ futures = { workspace = true } futures-util = { workspace = true } google-cloud-googleapis = { workspace = true } google-cloud-pubsub = { workspace = true } +google-cloud-storage = { workspace = true } hex = { workspace = true } +hyper = { workspace = true } itertools = { workspace = true } kanal = { workspace = true } lazy_static = { workspace = true } @@ -52,11 +57,6 @@ tonic = { workspace = true } tracing = { workspace = true } unescape = { workspace = true } url = { workspace = true } -allocative = { workspace = true } -allocative_derive = { workspace = true } -canonical_json = { workspace = true } -google-cloud-storage = { workspace = true } -hyper = { workspace = true } # Postgres SSL support native-tls = { workspace = true }