2023-11-29 12:25:04 +01:00
|
|
|
[package]
|
2024-04-02 14:07:21 +02:00
|
|
|
name = "riftenlabs-indexer"
|
2026-02-10 14:48:45 +01:00
|
|
|
version = "0.2.0"
|
2023-11-29 12:25:04 +01:00
|
|
|
edition = "2021"
|
2026-02-10 14:48:45 +01:00
|
|
|
authors = ["Whiterun LLC <hello@riftenlabs.com>"]
|
2023-11-29 12:25:04 +01:00
|
|
|
description = "Riften Labs DeFi contract indexer on Bitcoin Cash"
|
2024-03-14 11:38:11 +01:00
|
|
|
license = "AGPL-3.0-or-later"
|
2024-04-02 14:07:21 +02:00
|
|
|
homepage = "https://gitlab.com/riftenlabs/riftenlabs-indexer"
|
|
|
|
|
repository = "https://gitlab.com/riftenlabs/riftenlabs-indexer"
|
2023-11-29 12:25:04 +01:00
|
|
|
keywords = ["bitcoincash", "bitcoin", "cauldron", "defi", "cpmm"]
|
|
|
|
|
readme = "README.md"
|
2024-10-25 15:28:40 +02:00
|
|
|
build = "build.rs"
|
2023-11-29 12:25:04 +01:00
|
|
|
|
|
|
|
|
[dependencies]
|
2024-12-19 13:21:57 +01:00
|
|
|
anyhow = { version = "1.0.94", features = ["backtrace"] }
|
2026-06-10 16:06:02 +02:00
|
|
|
bitcoincash = "0.32.1"
|
|
|
|
|
bitcoin_hashes = { version = "0.14.100", default-features = false } # Same version as used by bitcoincash
|
2026-02-24 10:33:39 +01:00
|
|
|
electrum-client-netagnostic = { version = "0.21.2", features = ["use-rustls", "use-websocket"] }
|
2023-11-29 12:25:04 +01:00
|
|
|
hex = "0.4.3"
|
2024-03-04 16:40:50 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2024-12-19 13:21:57 +01:00
|
|
|
serde_json = "1.0.133"
|
|
|
|
|
rocket = { version = "0.5.1", features = ["json"] }
|
2026-02-17 17:47:43 +01:00
|
|
|
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] }
|
2024-12-19 13:21:57 +01:00
|
|
|
rayon = "1.10.0"
|
2026-06-10 16:06:02 +02:00
|
|
|
riftenlabs-defi = "0.4.0"
|
2024-01-19 14:38:31 +01:00
|
|
|
rocket_cors = "0.6.0"
|
2024-02-14 11:11:16 +01:00
|
|
|
log = "0.4"
|
|
|
|
|
stderrlog = "0.6.0"
|
2026-02-17 17:47:43 +01:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
2024-12-19 13:21:57 +01:00
|
|
|
rust_decimal = { version = "1.36", features = ["maths"] }
|
|
|
|
|
rust_decimal_macros = "1.36"
|
2026-02-17 17:47:43 +01:00
|
|
|
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
|
2024-05-09 11:25:27 +02:00
|
|
|
rand = "0.8.5"
|
2024-10-25 15:22:44 +02:00
|
|
|
configure_me = "0.4.0"
|
2026-02-17 17:47:43 +01:00
|
|
|
futures = "0.3.32"
|
2024-10-25 15:22:44 +02:00
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
|
configure_me_codegen = "0.4.8"
|
|
|
|
|
|
2025-07-16 09:30:17 +02:00
|
|
|
[dependencies.malachite]
|
|
|
|
|
version = "0.6.1"
|
|
|
|
|
default-features = false
|
|
|
|
|
features = [ "naturals_and_integers"]
|
|
|
|
|
|
2024-10-25 15:22:44 +02:00
|
|
|
[package.metadata.configure_me]
|
|
|
|
|
spec = "internal/config_specification.toml"
|
2024-03-04 16:40:50 +01:00
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
debug = true
|
2025-07-16 09:31:14 +02:00
|
|
|
|
|
|
|
|
[lints.clippy]
|
|
|
|
|
# workaround for generated code in depdencendy configure_me
|
|
|
|
|
uninlined_format_args = "allow"
|