sz-rust-core 0.2.1

SZ-Rust 核心库:HTTP 服务器、路由、控制器、中间件,对标 ThinkPHP 8
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 = "2021"
rust-version = "1.81"
name = "sz-rust-core"
version = "0.2.1"
authors = ["SZ-Rust Team"]
build = false
exclude = ["docs/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SZ-Rust 核心库:HTTP 服务器、路由、控制器、中间件,对标 ThinkPHP 8"
homepage = "https://github.com/ljclz/sz-rust"
readme = false
keywords = [
    "web",
    "framework",
    "thinkphp",
    "axum",
    "orm",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/ljclz/sz-rust"

[package.metadata.cargo-machete]
ignored = ["md-5"]

[features]
default = []
real-broker = ["sz-orm-mqtt/real-broker"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ab_glyph]
version = "0.2"

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

[dependencies.axum]
version = "0.8"
features = [
    "macros",
    "multipart",
    "ws",
    "http2",
]

[dependencies.base64]
version = "0.22"

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

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1"

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

[dependencies.image]
version = "0.25"

[dependencies.imageproc]
version = "0.25"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.infer]
version = "0.16"

[dependencies.md-5]
version = "0.10"

[dependencies.mime_guess]
version = "2"

[dependencies.num_cpus]
version = "1"

[dependencies.once_cell]
version = "1"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.serde_yml]
version = "0.0.12"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.sz-orm-auth]
version = "1.0.0"

[dependencies.sz-orm-core]
version = "1.0.0"

[dependencies.sz-orm-limit]
version = "1.0.0"

[dependencies.sz-orm-logger]
version = "1.0.0"

[dependencies.sz-orm-macros]
version = "1.0.0"

[dependencies.sz-orm-mqtt]
version = "1.0.0"

[dependencies.sz-orm-queue]
version = "1.0.0"

[dependencies.sz-orm-scheduler]
version = "1.0.0"

[dependencies.sz-orm-sql-validator]
version = "1.0.0"

[dependencies.sz-orm-storage]
version = "1.0.0"

[dependencies.sz-orm-tracing]
version = "1.0.0"

[dependencies.sz-orm-websocket]
version = "1.0.0"
features = ["server"]

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tower]
version = "0.5"
features = ["full"]

[dependencies.tower-http]
version = "0.7"
features = [
    "cors",
    "trace",
    "compression-gzip",
    "timeout",
    "fs",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]

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

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

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rcgen]
version = "0.13"

[dev-dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dev-dependencies.sz-rust-macros]
version = "0.2.0"

[dev-dependencies.tokio]
version = "1.40"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tower]
version = "0.5"
features = [
    "full",
    "util",
]