# 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 = "wrpc-interface-http" version = "0.31.0" authors = ["Roman Volosatovs "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "wRPC HTTP interface" readme = "README.md" categories = ["wasm"] license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/wrpc/http" [lib] name = "wrpc_interface_http" path = "src/lib.rs" [[test]] name = "rust" path = "tests/rust.rs" [dependencies.anyhow] version = "1" features = ["std"] default-features = false [dependencies.bytes] version = "1" default-features = false [dependencies.futures] version = "0.3" default-features = false [dependencies.http] version = "1" optional = true default-features = false [dependencies.http-body] version = "1" optional = true default-features = false [dependencies.http-body-util] version = "0.1.2" optional = true default-features = false [dependencies.hyper] version = "1" optional = true default-features = false [dependencies.tokio] version = "1.41" default-features = false [dependencies.tokio-stream] version = "0.1" optional = true default-features = false [dependencies.tracing] version = "0.1" features = ["attributes"] default-features = false [dependencies.wasmtime-wasi-http] version = "26" optional = true default-features = false [dependencies.wit-bindgen-wrpc] version = "0.9" default-features = false [dependencies.wrpc-transport] version = "0.28.3" default-features = false [dev-dependencies.async-nats] version = "0.37" features = ["ring"] default-features = false [dev-dependencies.hyper] version = "1" default-features = false [dev-dependencies.hyper-util] version = "0.1" features = [ "client", "server-auto", "tokio", ] default-features = false [dev-dependencies.tokio] version = "1.41" features = [ "macros", "process", "rt-multi-thread", ] default-features = false [dev-dependencies.wrpc-cli] version = "0.4" features = ["nats"] default-features = false [dev-dependencies.wrpc-interface-http] version = "0" features = [ "http", "http-body", "hyper", "wasmtime-wasi-http", ] default-features = false [dev-dependencies.wrpc-transport-nats] version = "0.27" features = ["async-nats-0_37"] default-features = false [features] http = ["dep:http"] http-body = [ "http", "dep:http-body", "dep:http-body-util", "dep:tokio-stream", ] hyper = [ "http-body", "dep:hyper", ] wasmtime-wasi-http = [ "http-body", "dep:wasmtime-wasi-http", ]