Skip to content

Commit d3d57de

Browse files
authored
feat: Add CoinGecko price feed implementation (#157)
* feat: Add coingecko price feed implementation * chore: Apply review suggestions * chore: Apply review suggestions
1 parent 5640d6e commit d3d57de

File tree

14 files changed

+825
-102
lines changed

14 files changed

+825
-102
lines changed

Cargo.lock

Lines changed: 175 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 25 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -19,62 +19,47 @@ default-members = ["crates/solver-service"]
1919
version = "0.1.0"
2020
edition = "2021"
2121
rust-version = "1.86.0"
22-
authors = ["nahim.terrazas@openzeppelin.com", "nami@openzeppelin.com", "nicolas.molina@openzeppelin.com"]
22+
authors = [
23+
"nahim.terrazas@openzeppelin.com",
24+
"nami@openzeppelin.com",
25+
"nicolas.molina@openzeppelin.com",
26+
]
2327
license = "MIT"
2428
repository = "https://github.com/openintentsframework/oif-solver"
2529

2630
[workspace.dependencies]
27-
# Async runtime
28-
tokio = { version = "1.40", features = ["full"] }
29-
async-trait = "0.1"
30-
31-
# Serialization
32-
serde = { version = "1.0", features = ["derive"] }
33-
serde_json = "1.0"
34-
35-
# Ethereum
3631
alloy = "1.0.22"
37-
38-
# Logging
39-
tracing = "0.1"
40-
tracing-subscriber = "0.3"
41-
42-
# Error handling
43-
thiserror = "2.0.12"
4432
anyhow = "1.0"
45-
46-
# Common utilities
4733
arc-swap = "1.7"
34+
async-stream = "0.3"
35+
async-trait = "0.1"
36+
axum = "0.8.4"
37+
backoff = { version = "0.4", features = ["tokio"] }
38+
bytes = "1.8"
39+
chrono = "0.4"
40+
clap = { version = "4.5", features = ["derive", "env"] }
4841
dashmap = "6.0"
4942
futures = "0.3"
50-
chrono = "0.4"
5143
hex = "0.4"
52-
sha3 = "0.10"
53-
tokio-stream = "0.1"
54-
async-stream = "0.3"
55-
rust_decimal = { version = "1.35", features = ["serde"] }
56-
uuid = { version = "1.10", features = ["v4", "serde"] }
57-
backoff = { version = "0.4", features = ["tokio"] }
5844
priority-queue = "2.0"
59-
bytes = "1.8"
60-
61-
# HTTP and web
6245
reqwest = { version = "0.12.22", features = ["json"] }
63-
axum = "0.8.4"
46+
rust_decimal = { version = "1.35", features = ["serde"] }
47+
serde = { version = "1.0", features = ["derive"] }
48+
serde_json = "1.0"
49+
serde_yaml = "0.9"
50+
sha3 = "0.10"
51+
tempfile = "3.0"
52+
thiserror = "2.0.12"
53+
tokio = { version = "1.40", features = ["full"] }
54+
tokio-stream = "0.1"
55+
toml = "0.9.2"
6456
tower = "0.5.2"
6557
tower-http = { version = "0.6.6", features = ["trace", "cors"] }
66-
67-
# CLI and config
68-
clap = { version = "4.5", features = ["derive", "env"] }
69-
toml = "0.9.2"
70-
serde_yaml = "0.9"
71-
72-
# Validation
58+
tracing = "0.1"
59+
tracing-subscriber = "0.3"
60+
uuid = { version = "1.10", features = ["v4", "serde"] }
7361
validator = { version = "0.18", features = ["derive"] }
7462

75-
# Testing
76-
tempfile = "3.0"
77-
7863
[profile.release]
7964
opt-level = 3
8065
lto = true

0 commit comments

Comments
 (0)