[package]
edition = "2021"
name = "ling-http"
version = "0.1.3"
authors = [
"Ling Lin <taellinglin@gmail.com>",
"Sanny Lin <SannyLing53@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "灵网 — HTTPS/JSON/SQLite MVC framework for the Ling ecosystem (Flask-for-Ling)."
homepage = "https://ling-lang.org"
readme = false
keywords = [
"http",
"https",
"web",
"mvc",
"framework",
]
categories = [
"web-programming::http-server",
"network-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/taellinglin/ling"
[features]
default = []
dev-certs = ["dep:rcgen"]
[lib]
name = "ling_http"
path = "src/lib.rs"
[[example]]
name = "hello"
path = "examples/hello.rs"
required-features = ["dev-certs"]
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = [
"json",
"macros",
]
[dependencies.axum-server]
version = "0.8"
features = ["tls-rustls-no-provider"]
default-features = false
[dependencies.r2d2]
version = "0.8"
[dependencies.rcgen]
version = "0.13"
optional = true
[dependencies.rusqlite]
version = "0.37"
features = ["bundled"]
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
]
default-features = false
[dependencies.rustls-pemfile]
version = "2"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.37"
features = [
"rt-multi-thread",
"macros",
"net",
"signal",
"fs",
"sync",
]
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6"
features = [
"trace",
"cors",
"limit",
"timeout",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.clap]
version = "4.4"
features = ["derive"]
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false