[package]
edition = "2021"
rust-version = "1.87"
name = "eggserve-core"
version = "0.1.2"
build = false
include = [
"src/**",
"tests/**",
"examples/**",
"docs/**",
"architecture/**",
"python-examples/*.py",
"python-examples/README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Security policy, path confinement, and static-serving primitives for eggserve"
homepage = "https://github.com/eggstack/eggserve"
readme = "README.md"
keywords = [
"http",
"static-file-server",
"security",
"hardened",
"http-server",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/eggstack/eggserve"
[features]
default = []
python-bindings-internal = []
tls = [
"dep:rustls",
"dep:tokio-rustls",
"dep:rustls-pemfile",
]
windows-adversarial-qualification = []
[lib]
name = "eggserve_core"
path = "src/lib.rs"
[[example]]
name = "custom_service"
path = "examples/custom_service.rs"
[[example]]
name = "primitives"
path = "examples/primitives.rs"
[[example]]
name = "static_server"
path = "examples/static_server.rs"
[[test]]
name = "api_stability"
path = "tests/api_stability.rs"
[[test]]
name = "body_conformance"
path = "tests/body_conformance.rs"
[[test]]
name = "body_primitives"
path = "tests/body_primitives.rs"
[[test]]
name = "body_properties"
path = "tests/body_properties.rs"
[[test]]
name = "canonical_conformance"
path = "tests/canonical_conformance.rs"
[[test]]
name = "canonical_wire_interop"
path = "tests/canonical_wire_interop.rs"
[[test]]
name = "corpus_replay"
path = "tests/corpus_replay.rs"
[[test]]
name = "fault_injection"
path = "tests/fault_injection.rs"
[[test]]
name = "filesystem_race_qualification"
path = "tests/filesystem_race_qualification.rs"
[[test]]
name = "http_primitives_integration"
path = "tests/http_primitives_integration.rs"
[[test]]
name = "http_wire_correctness"
path = "tests/http_wire_correctness.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "lifecycle_integration"
path = "tests/lifecycle_integration.rs"
[[test]]
name = "no_hyper_in_public_api"
path = "tests/no_hyper_in_public_api.rs"
[[test]]
name = "ops_integration"
path = "tests/ops_integration.rs"
[[test]]
name = "public_api_consumers"
path = "tests/public_api_consumers.rs"
[[test]]
name = "qualification"
path = "tests/qualification.rs"
[[test]]
name = "request_body_cancellation"
path = "tests/request_body_cancellation.rs"
[[test]]
name = "request_body_integration"
path = "tests/request_body_integration.rs"
[[test]]
name = "request_body_timeout_interaction"
path = "tests/request_body_timeout_interaction.rs"
[[test]]
name = "request_body_tls"
path = "tests/request_body_tls.rs"
[[test]]
name = "request_body_wire"
path = "tests/request_body_wire.rs"
[[test]]
name = "server_integration"
path = "tests/server_integration.rs"
[[test]]
name = "stateful_fuzz_replay"
path = "tests/stateful_fuzz_replay.rs"
[[test]]
name = "streaming_buffer_qualification"
path = "tests/streaming_buffer_qualification.rs"
[[test]]
name = "tls_service_parity"
path = "tests/tls_service_parity.rs"
[[test]]
name = "unix_validator_qualification"
path = "tests/unix_validator_qualification.rs"
[[test]]
name = "windows_feasibility"
path = "tests/windows_feasibility.rs"
[[test]]
name = "windows_plan084"
path = "tests/windows_plan084.rs"
[[test]]
name = "windows_plan086"
path = "tests/windows_plan086.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
[dependencies.http-body-util]
version = "0.1"
[dependencies.httpdate]
version = "1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"server",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"server",
"http1",
]
[dependencies.phf]
version = "0.11"
features = ["macros"]
[dependencies.rustls]
version = "0.23"
features = [
"std",
"ring",
]
optional = true
default-features = false
[dependencies.rustls-pemfile]
version = "2"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"signal",
"time",
"fs",
"io-util",
"sync",
]
[dependencies.tokio-rustls]
version = "0.26"
optional = true
[dev-dependencies.hyper]
version = "1"
features = ["client"]
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rcgen]
version = "0.13"
[dev-dependencies.rustls-pki-types]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
[dev-dependencies.tokio-rustls]
version = "0.26"
[target."cfg(unix)".dependencies.rustix]
version = "1"
features = ["fs"]