[package] name = "ns-indexer" version = "0.6.0" edition = "2021" rust-version = "1.64" description = "Name & Service Protocol indexer service in Rust" publish = true repository = "https://github.com/ldclabs/ns-rs/tree/main/crates/ns-indexer" license = "CC0-1.0" [lib] [[bin]] name = "ns-indexer" path = "src/bin/main.rs" [dependencies] ns-protocol = { path = "../ns-protocol", version = "0.8" } ns-axum-web = { path = "../ns-axum-web", version = "0.1" } ns-scylla-orm = { path = "../ns-scylla-orm", version = "0.1" } ns-scylla-orm-macros = { path = "../ns-scylla-orm-macros", version = "0.1" } anyhow = { workspace = true } bytes = { workspace = true } base64 = { workspace = true } ciborium = { workspace = true } ciborium-io = { workspace = true } serde = { workspace = true } tokio = { workspace = true } serde_json = { workspace = true } log = { workspace = true } structured-logger = { workspace = true } futures = { workspace = true } http = "1" axum = { version = "0.7", features = [ "http1", "http2", "json", "macros", "matched-path", "tokio", "query", ], default-features = true } reqwest = { version = "0.11", features = [ "rustls-tls", "rustls-tls-webpki-roots", "json", "gzip", "trust-dns", ], default-features = false } bitcoin = { version = "0.31", features = ["serde", "base64", "rand"] } dotenvy = "0.15" hex = "0.4" bitcoincore-rpc-json = "0.18.0" scylla = "0.11" tower = "0.4" tower-http = { version = "0.5", features = [ "catch-panic", "compression-gzip", "compression-zstd", "decompression-gzip", "decompression-zstd", "propagate-header", "cors", "timeout", ] } validator = { version = "0.16", features = ["derive"] } [dev-dependencies] hex-literal = "0.4"