[package]
edition = "2024"
rust-version = "1.88"
name = "jerrycan-core"
version = "0.2.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 = "background"
path = "tests/background.rs"
[[test]]
name = "body_limits"
path = "tests/body_limits.rs"
[[test]]
name = "cors"
path = "tests/cors.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"
[[test]]
name = "protocol"
path = "tests/protocol.rs"
[[bench]]
name = "core_bench"
path = "benches/core_bench.rs"
harness = false
[dependencies.bytes]
version = "1"
[dependencies.futures-core]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.http-body]
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",
"test-util",
]