neptune-explorer/Cargo.toml
Alan Szepieniec 817835302b fix(RPC): Encode hashmap as list for transmission
In commit 1096a293 on neptune-core, the return type of RPC endpoint
`addition_records_for_block` changes from `HashMap` to `Vec`. This
commit applies the matching change on the side of the client,
including building the original hashmap from the transmitted list.

These commits (the present one and the one referenced) fix the issue
that transparent transaction info could not be transferred across the
RPC layer.
2025-08-23 10:31:34 +02:00

54 lines
1.4 KiB
TOML

[package]
name = "neptune-explorer"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "0.7.9", features = ["macros"] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
tokio = { version = "1.37.0", features = ["full", "tracing"] }
tracing = "0.1"
tracing-subscriber = "0.3"
neptune-cash = "0.3.0"
tarpc = { version = "^0.34", features = [
"tokio1",
"serde-transport",
"serde-transport-json",
"tcp",
] }
clap = "4.5.4"
thiserror = "1.0.59"
boilerplate = { version = "1.0.0" }
html-escaper = "0.2.0"
tower-http = { version = "0.5.2", features = ["fs"] }
readonly = "0.2.12"
url = "2.5.0"
lettre = {version = "0.11.7", features = ["tokio1-native-tls"]}
chrono = "0.4.34"
# only should be used inside main.rs, for the binary.
anyhow = "1.0.86"
arc-swap = "1.7.1"
derive_more = { version = "1.0.0", features = ["display"] }
# not a direct dep. workaround for weird "could not resolve" cargo error
indexmap = "2.7.0"
blake3 = {version = "1.8.2", optional = true}
rand = {version = "0.9.2", optional = true}
#[dev-dependencies]
test-strategy = "0.4.3"
proptest = "1.7.0"
arbitrary = "1.4.1"
proptest-arbitrary-interop = "0.1.0"
[patch.crates-io]
neptune-cash = { git = "https://github.com/Neptune-Crypto/neptune-core.git", branch = "master" }
[features]
mock = ["dep:blake3", "dep:rand"]