[package]
edition = "2024"
rust-version = "1.97.1"
name = "zenith-api"
version = "0.1.0"
authors = ["Zenith Developers <2098175794@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zenith 公共 API 与类型定义:CanonicalRequest/Response、Method、Protocol、Transport 等核心类型"
homepage = "https://www.mosit.cn"
documentation = "https://docs.rs/zenith-stack"
readme = "README.md"
keywords = [
"zenith",
"api",
"types",
"http",
"protocol",
]
categories = [
"web-programming",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://gitcode.com/Mosi45-git/Zenith"
resolver = "2"
[features]
default = []
[lib]
name = "zenith_api"
path = "src/lib.rs"
[[test]]
name = "cross_protocol_consistency"
path = "tests/cross_protocol_consistency.rs"
[[test]]
name = "percent_decode_consistency"
path = "tests/percent_decode_consistency.rs"
[dependencies]
[dev-dependencies.pretty_assertions]
version = "1"
[lints.clippy]
all = "warn"
correctness = "deny"
perf = "deny"
suspicious = "deny"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "deny"