spikard-core 0.10.2

Shared transport-agnostic primitives for Spikard runtimes
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 = "spikard-core"
version = "0.10.2"
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared transport-agnostic primitives for Spikard runtimes"
homepage = "https://github.com/Goldziher/spikard"
documentation = "https://docs.rs/spikard-core"
readme = "README.md"
keywords = [
    "http",
    "web",
    "framework",
    "validation",
    "middleware",
]
categories = [
    "web-programming::http-server",
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Goldziher/spikard"
resolver = "2"

[features]
default = []
di = [
    "dep:tokio",
    "dep:bytes",
]

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

[dependencies.brotli]
version = "8.0"

[dependencies.bytes]
version = "1.11"
optional = true

[dependencies.flate2]
version = "=1.1.5"
features = ["rust_backend"]
default-features = false

[dependencies.http]
version = "1.4"

[dependencies.indexmap]
version = "2.13"

[dependencies.jiff]
version = "0.2"

[dependencies.jsonschema]
version = "0.40"
default-features = false

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_qs]
version = "0.15"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
    "time",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.20"

[dev-dependencies.tokio-test]
version = "0.4"

[lints.clippy.all]
level = "deny"
priority = 0

[lints.clippy.nursery]
level = "deny"
priority = 0

[lints.clippy.pedantic]
level = "deny"
priority = 0

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]