# 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 = "essential-node-api" version = "0.8.0" authors = ["Essential Contributions "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "API implementation for the Essential node" homepage = "https://essential.builders/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/essential-contributions/essential-node" [lib] name = "essential_node_api" path = "src/lib.rs" [[test]] name = "endpoints" path = "tests/endpoints.rs" [[test]] name = "util" path = "tests/util.rs" [dependencies.axum] version = "0.7.7" [dependencies.essential-node] version = "0.8.0" [dependencies.essential-node-types] version = "0.2.0" [dependencies.essential-types] version = "0.5.0" [dependencies.futures] version = "0.3.30" [dependencies.hex] version = "0.4.3" [dependencies.http] version = "1.1.0" [dependencies.hyper] version = "1.3.1" features = ["http2"] [dependencies.hyper-util] version = "0.1.7" features = ["http2"] [dependencies.serde] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.39.2" features = ["full"] [dependencies.tower] version = "0.5.1" [dependencies.tower-http] version = "0.6.1" features = ["cors"] [dependencies.tracing] version = "0.1.40" optional = true [dev-dependencies.essential-hash] version = "0.7.0" [dev-dependencies.essential-node-types] version = "0.2.0" [dev-dependencies.reqwest] version = "0.12.5" features = [ "json", "stream", ] [dev-dependencies.serde_json] version = "1.0.114" [dev-dependencies.tokio-util] version = "0.7.11" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.uuid] version = "1.10.0" features = ["v4"] [features] default = ["tracing"] test-utils = ["essential-node/test-utils"] tracing = [ "dep:tracing", "essential-node/tracing", ]