# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "celestia-rpc" version = "0.7.0" authors = ["Eiger "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A collection of traits for interacting with Celestia data availability nodes RPC" homepage = "https://www.eiger.co" readme = "README.md" keywords = [ "blockchain", "celestia", "lumina", ] categories = [ "api-bindings", "asynchronous", "encoding", "cryptography::cryptocurrencies", ] license = "Apache-2.0" repository = "https://github.com/eigerco/lumina" [package.metadata.docs.rs] features = ["p2p"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "celestia_rpc" path = "src/lib.rs" [[test]] name = "blob" path = "tests/blob.rs" [[test]] name = "header" path = "tests/header.rs" [[test]] name = "p2p" path = "tests/p2p.rs" [[test]] name = "share" path = "tests/share.rs" [[test]] name = "state" path = "tests/state.rs" [[test]] name = "wasm" path = "tests/wasm.rs" [dependencies.async-trait] version = "0.1.80" [dependencies.celestia-types] version = "0.7.0" default-features = false [dependencies.futures] version = "0.3.25" [dependencies.jsonrpsee] version = "0.24.2" features = [ "client-core", "macros", ] [dependencies.serde] version = "1.0.203" features = ["derive"] [dependencies.thiserror] version = "1.0.61" [dependencies.tracing] version = "0.1.40" [features] default = ["p2p"] p2p = ["celestia-types/p2p"] wasm-bindgen = [ "celestia-types/wasm-bindgen", "jsonrpsee/wasm-client", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.http] version = "1.1.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.jsonrpsee] version = "0.24.2" features = [ "http-client", "ws-client", ] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.anyhow] version = "1.0.86" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.dotenvy] version = "0.15.7" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.futures] version = "0.3.30" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.libp2p] version = "0.54.0" features = [ "tokio", "macros", "tcp", "noise", "yamux", ] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.nmt-rs] version = "0.2.1" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rand] version = "0.8.5" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio] version = "1.38.0" features = [ "rt", "macros", ] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tracing] version = "0.1.40" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom] version = "0.2.15" features = ["js"] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3.42"