reinhardt-core 0.3.13

Core components for Reinhardt framework
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"
rust-version = "1.96.0"
name = "reinhardt-core"
version = "0.3.13"
authors = ["kent8192 <51869472+kent8192@users.noreply.github.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core components for Reinhardt framework"
documentation = "https://docs.rs/reinhardt-core"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "django",
    "rust",
    "async",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "BSD-3-Clause"
repository = "https://github.com/kent8192/reinhardt-web"

[features]
compressed-parsers = [
    "parsers",
    "dep:alloc-stdlib",
    "dep:brotli-decompressor",
    "dep:brotli",
    "dep:flate2",
]
core-full = [
    "types",
    "exception",
    "signals",
    "macros",
    "security",
    "validators",
    "image-validation",
    "serializers",
    "messages",
    "negotiation",
    "parsers",
    "compressed-parsers",
    "pagination",
    "reactive",
    "full",
    "reinhardt-macros?/full",
]
default = [
    "types",
    "exception",
    "signals",
    "macros",
    "security",
    "validators",
    "image-validation",
    "serializers",
]
doc-diagrams = ["dep:aquamarine"]
exception = ["validators"]
full = [
    "compressed-parsers",
    "i18n",
    "image-validation",
    "json",
    "jsonschema",
    "page",
    "parallel",
    "serde",
    "std",
    "xml",
    "yaml",
]
i18n = [
    "dep:fluent-bundle",
    "dep:unic-langid",
]
image-validation = [
    "dep:image",
    "validators",
]
json = []
jsonschema = ["dep:jsonschema"]
macros = ["dep:reinhardt-macros"]
messages = ["serde"]
negotiation = []
page = ["types"]
pagination = ["serde"]
parallel = ["dep:rayon"]
parsers = []
reactive = []
security = []
serde = ["dep:serde"]
serializers = ["serde"]
signals = ["serde"]
std = []
types = []
validators = ["serde"]
xml = [
    "dep:quick-xml",
    "dep:serde-xml-rs",
]
yaml = ["dep:serde_yaml"]

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

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

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

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

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

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

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

[dependencies.alloc-stdlib]
version = "=0.2.2"
optional = true

[dependencies.anyhow]
version = "1.0.102"

[dependencies.aquamarine]
version = "0.6.0"
optional = true

[dependencies.async-trait]
version = "0.1.89"

[dependencies.base64]
version = "0.22"

[dependencies.brotli]
version = "8.0.2"
optional = true

[dependencies.brotli-decompressor]
version = "=5.0.1"
optional = true

[dependencies.bytes]
version = "1.0"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.flate2]
version = "1.1.9"
optional = true

[dependencies.fluent-bundle]
version = "0.15"
optional = true

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1.4.0"

[dependencies.image]
version = "0.25.10"
optional = true

[dependencies.inventory]
version = "0.3"

[dependencies.ipnet]
version = "2.10"

[dependencies.mime]
version = "0.3"

[dependencies.multer]
version = "3.0"

[dependencies.once_cell]
version = "1.20"

[dependencies.parking_lot]
version = "0.12"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.prost]
version = "0.14.3"

[dependencies.quick-xml]
version = "0.41.0"
optional = true

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1.11"

[dependencies.reinhardt-macros]
version = "0.3.13"
optional = true

[dependencies.rmp-serde]
version = "1.3.1"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "derive",
]
optional = true

[dependencies.serde-xml-rs]
version = "0.8.1"
optional = true

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.serial_test]
version = "3.4.0"
optional = true

[dependencies.sha2]
version = "0.10"

[dependencies.smallvec]
version = "1.13"
features = [
    "union",
    "const_generics",
]
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.typed-arena]
version = "2.0"

[dependencies.url]
version = "2.5"

[dependencies.urlencoding]
version = "2.1"

[dev-dependencies.bytes]
version = "1.0"

[dev-dependencies.hyper]
version = "1.0"

[dev-dependencies.insta]
version = "1.47.2"
features = [
    "json",
    "toml",
]

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.serial_test]
version = "3.4.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt",
    "test-util",
]

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

[build-dependencies.cfg_aliases]
version = "0.2"

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.uuid]
version = "1.7"
features = [
    "v4",
    "v7",
    "serde",
    "js",
]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.web-sys]
version = "0.3"
features = ["Event"]

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.hyper]
version = "1.9.0"
features = ["full"]

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.jsonschema]
version = "0.26"
optional = true

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.rayon]
version = "1.10"
optional = true

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.tokio]
version = "1.51.0"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
    "net",
    "io-util",
    "rt",
    "sync",
    "time",
]

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.unic-langid]
version = "0.9"
optional = true

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.uuid]
version = "1.7"
features = [
    "v4",
    "v7",
    "serde",
]