# 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.85"
name = "jerrycan-core"
version = "0.1.0"
authors = ["Pavel Hegler"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core of the jerrycan framework: routing, extractors, dependency injection, middleware. https://jerrycan.cc"
homepage = "https://jerrycan.cc"
readme = false
keywords = [
    "web",
    "framework",
    "async",
    "http",
]
categories = ["web-programming::http-server"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/backant-io/jerrycan"

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

[[test]]
name = "di"
path = "tests/di.rs"

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[test]]
name = "fuzz_smoke"
path = "tests/fuzz_smoke.rs"

[[test]]
name = "hardening"
path = "tests/hardening.rs"

[[test]]
name = "module"
path = "tests/module.rs"

[[bench]]
name = "core_bench"
path = "benches/core_bench.rs"
harness = false

[dependencies.bytes]
version = "1"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "http1",
    "server",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server",
    "http1",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "time",
    "sync",
    "signal",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "time",
    "sync",
    "signal",
    "macros",
    "rt-multi-thread",
    "net",
    "time",
    "sync",
    "io-util",
]
