omnia-wasi-http 0.28.0

WASI HTTP interface implementation for the Omnia runtime
Documentation
# 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 = "2024"
rust-version = "1.93"
name = "omnia-wasi-http"
version = "0.28.0"
authors = ["Augentic"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WASI HTTP interface implementation for the Omnia runtime"
homepage = "https://augentic.io"
readme = "README.md"
keywords = [
    "runtime",
    "wasi",
    "wasm",
    "wasmtime",
    "component-model",
]
categories = [
    "wasm",
    "web-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/augentic/omnia"
resolver = "2"

[features]

[lib]
name = "omnia_wasi_http"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.bytes]
version = "1.11.1"

[dependencies.http]
version = "1.4.0"

[dependencies.tracing]
version = "0.1.44"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.base64ct]
version = "1.8.3"
features = ["std"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.fromenv]
version = "0.1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures]
version = "0.3.32"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body-util]
version = "0.1.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper]
version = "1.8.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.omnia]
version = "0.28.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.13.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.49.0"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime]
version = "42.0.0"
features = [
    "anyhow",
    "parallel-compilation",
    "component-model-async",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime-wasi]
version = "42.0.0"
features = ["p3"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime-wasi-http]
version = "42.0.0"
features = ["p3"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt-multi-thread",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.wiremock]
version = "0.6.5"

[target.'cfg(target_arch = "wasm32")'.dependencies.axum]
version = "0.8.8"
features = ["json"]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.futures]
version = "0.3.32"

[target.'cfg(target_arch = "wasm32")'.dependencies.http-body]
version = "1.0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.http-body-util]
version = "0.1.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.omnia-wasi-keyvalue]
version = "0.28.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.percent-encoding]
version = "2.3.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.rkyv]
version = "0.8.15"

[target.'cfg(target_arch = "wasm32")'.dependencies.serde]
version = "1.0.228"
features = ["derive"]

[target.'cfg(target_arch = "wasm32")'.dependencies.serde_json]
version = "1.0.149"

[target.'cfg(target_arch = "wasm32")'.dependencies.tower]
version = "0.5.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasip3]
version = "0.4.0"
features = ["http-compat"]

[lints.clippy]
all = "warn"
as_pointer_underscore = "warn"
assertions_on_result_states = "warn"
cargo = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
map_err_ignore = "warn"
nursery = "warn"
pedantic = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
semicolon_outside_block = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"

[lints.rust]
missing_docs = "deny"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"