# 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"
rust-version = "1.87"
name = "edge-http"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async + `no_std` + no-alloc implementation of the HTTP protocol"
readme = "README.md"
categories = [
    "embedded",
    "no-std::no-alloc",
    "asynchronous",
    "web-programming::http-client",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ivmarkov/edge-net"

[features]
default = ["io"]
defmt = [
    "dep:defmt",
    "heapless/defmt",
]
io = [
    "embedded-io-async",
    "edge-nal",
    "embassy-sync",
    "embassy-futures",
    "embassy-time",
]
std = ["io"]

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

[dependencies.base64]
version = "0.22"
default-features = false

[dependencies.defmt]
version = "1"
features = ["ip_in_core"]
optional = true
default-features = false

[dependencies.edge-nal]
version = "0.6"
optional = true
default-features = false

[dependencies.embassy-futures]
version = "0.1.2"
optional = true
default-features = false

[dependencies.embassy-sync]
version = "0.7"
optional = true
default-features = false

[dependencies.embassy-time]
version = "0.5"
optional = true
default-features = false

[dependencies.embedded-io-async]
version = "0.7"
optional = true
default-features = false

[dependencies.heapless]
version = "0.9"
default-features = false

[dependencies.httparse]
version = "1.10"
default-features = false

[dependencies.log]
version = "0.4"
optional = true
default-features = false

[dependencies.sha1_smol]
version = "1"
default-features = false
