Skip to content

Commit a9c0790

Browse files
committed
mock rpc responses
1 parent c248c31 commit a9c0790

20 files changed

+13328
-769
lines changed

backend/Cargo.lock

+4,451-549
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/Cargo.toml

+11-8
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
axum = { version = "0.8" }
8-
tokio = { version = "1", features = ["full"] }
97
anyhow = "1.0"
10-
serde = { version = "1", features = ["derive"] }
11-
serde_json = "1"
12-
tower-http = { version = "0.5", features = ["cors"] }
13-
jsonrpsee = { version = "0.24", features = ["http-client"] }
14-
reqwest = { version = "0.12.12", features = ["json"] }
15-
dotenvy = "0.15"
8+
axum = { version = "0.8" }
169
clap = { version = "4.5", features = ["derive"] }
1710
chrono = "0.4.38"
11+
dotenvy = "0.15"
1812
env_logger = "0.11.6"
13+
jsonrpsee = { version = "0.24", features = ["http-client"] }
1914
log = "0.4.25"
15+
reqwest = { version = "0.12.12", features = ["json"] }
16+
serde = { version = "1", features = ["derive"] }
17+
serde_json = "1"
18+
tokio = { version = "1", features = ["full"] }
19+
tower-http = { version = "0.5", features = ["cors"] }
20+
21+
strata-bridge-rpc = { git = "https://github.com/alpenlabs/strata-bridge.git", features = ["client"]}
22+
strata-bridge-primitives = { git = "https://github.com/alpenlabs/strata-bridge.git" }
2023

2124
[dev-dependencies]
2225
mockito = "1.6.1"

backend/rust-toolchain.toml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[toolchain]
2+
# update this after https://github.com/rust-lang/rust/issues/134044 is fixed.
3+
channel = "nightly-2024-11-01"
4+
components = [
5+
"cargo",
6+
"clippy",
7+
"rustc",
8+
"rustfmt",
9+
"rust-analyzer",
10+
"rust-docs",
11+
"rust-src",
12+
"rust-std",
13+
# "miri" # some of the secp256k1 FFIs fail with miri
14+
]

0 commit comments

Comments
 (0)