-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
51 lines (33 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "vibegraph"
version = "0.3.2"
edition = "2021"
default-run = "vibegraph"
description = "Reads ethereum contract events from a lightweight RPC and caches them to a database"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.96"
tokio-postgres-migration = "0.1.0"
tokio-postgres = { version = "0.7.8" , features=["with-chrono-0_4"] }
tokio = { version = "1.28.1", features = ["rt", "rt-multi-thread", "macros"] }
dotenvy = "0.15"
env_logger = "0.10.0"
log = "0.4.18"
ethers = "2.0.10"
thiserror = "1.0.49"
include_dir = "0.7.3"
inquire = "0.6.2"
degen-sql = "0.1.0"
rust_decimal = { version = "1.33.1", features = ["db-tokio-postgres"] }
# cargo run --bin migrate
[[bin]]
name = "migrate"
path = "src/db/postgres/scripts/migrate.rs"
[[bin]]
name = "rollback_full"
path = "src/db/postgres/scripts/rollback_full.rs"
[[bin]]
name = "vibegraph"
path = "src/main.rs"