# 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-rest-server" version = "0.4.0" authors = ["Essential Contributions "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A REST server that wraps Essential server and exposes it's functionality" homepage = "https://essential.builders/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/essential-contributions/essential-server" [lib] name = "essential_rest_server" path = "src/lib.rs" [[bin]] name = "essential-rest-server" path = "src/main.rs" [[test]] name = "curl" path = "tests/curl.rs" [[test]] name = "integration" path = "tests/integration.rs" [[test]] name = "utils" path = "tests/utils.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.axum] version = "0.7.5" features = ["http2"] [dependencies.clap] version = "4.5.4" features = ["derive"] [dependencies.essential-memory-storage] version = "0.3.0" [dependencies.essential-rqlite-storage] version = "0.3.0" [dependencies.essential-server] version = "0.4.0" [dependencies.essential-server-types] version = "0.2.0" [dependencies.essential-types] version = "0.2.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.5" features = ["http2"] [dependencies.serde] version = "1.0.195" features = ["derive"] [dependencies.tokio] version = "1.36.0" features = ["full"] [dependencies.tower] version = "0.5.0" [dependencies.tower-http] version = "0.5.2" features = ["cors"] [dependencies.tracing] version = "0.1" features = ["attributes"] optional = true [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] optional = true [dev-dependencies.essential-hash] version = "0.2.0" [dev-dependencies.essential-state-read-vm] version = "0.3.0" [dev-dependencies.essential-storage] version = "0.3.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" features = [ "codec", "io", ] [features] default = ["tracing"] tracing = [ "dep:tracing", "dep:tracing-subscriber", "essential-rqlite-storage/tracing", "essential-server/tracing", ]