Skip to content

Commit

Permalink
Merge pull request #6 from isankadn/Isanka-patch-205cb9e
Browse files Browse the repository at this point in the history
adding historical data
  • Loading branch information
isankadn authored Mar 20, 2024
2 parents 7a880a1 + 867877d commit 13df94b
Show file tree
Hide file tree
Showing 4 changed files with 355 additions and 0 deletions.
66 changes: 66 additions & 0 deletions Cargo.lock

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

11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
workspace = { members = ["historical_data"] }
[package]
name = "mongo-to-clickhouse"
version = "0.1.0"
Expand All @@ -23,4 +24,14 @@ anyhow = "1.0.81"
bb8 = "0.8.3"
bb8-postgres = "0.8.1"
serde_json = "1.0.114"
serde_yaml = "0.9.33"
rayon = "1.9.0"


[[bin]]
name = "mongo-to-clickhouse"
path = "src/main.rs"

[[bin]]
name = "historical_data"
path = "historical_data/src/main.rs"
27 changes: 27 additions & 0 deletions historical_data/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[package]
name = "historical_data"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clickhouse-rs = "1.1.0-alpha.1"
config = "0.14.0"
mongodb = { version = "2.8.0", features = ["tokio-runtime"] }
r2d2 = "0.8.10"
tokio = { version = "1.36.0", features = ["full"] }
serde = { version = "1.0.197", features = ["derive"] }
tokio-postgres = "0.7.10"
sha2 = "0.10.8"
hex = "0.4.3"
r2d2_postgres = "0.18.1"
futures = "0.3.30"
log = "0.4.21"
env_logger = "0.11.3"
anyhow = "1.0.81"
bb8 = "0.8.3"
bb8-postgres = "0.8.1"
serde_json = "1.0.114"
serde_yaml = "0.9.33"
rayon = "1.9.0"
Loading

0 comments on commit 13df94b

Please sign in to comment.