foctet-http 0.2.0

Thin HTTP adapter for application/foctet body envelopes
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"
name = "foctet-http"
version = "0.2.0"
authors = ["shellrow <shellrow@foctal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Thin HTTP adapter for application/foctet body envelopes"
readme = "README.md"
license = "MIT"
repository = "https://github.com/foctal/foctet"
resolver = "2"

[features]
axum = ["dep:axum"]
default = []
workers = ["dep:worker"]

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

[[example]]
name = "axum_body_echo_client"
path = "examples/axum_body_echo_client.rs"
required-features = ["axum"]

[[example]]
name = "axum_body_echo_server"
path = "examples/axum_body_echo_server.rs"
required-features = ["axum"]

[[example]]
name = "workers_echo_client"
path = "examples/workers_echo_client.rs"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.foctet-core]
version = "0.2.0"

[dependencies.http]
version = "1.4"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.rand_core]
version = "0.6"

[dev-dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dev-dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.x25519-dalek]
version = "2.0"
features = [
    "static_secrets",
    "getrandom",
    "zeroize",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.worker]
version = "0.7.5"
optional = true