Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
82 lines (73 loc) · 2.03 KB
/
Copy pathCargo.toml
File metadata and controls
82 lines (73 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "weft"
version = "0.1.0"
description = "Weft is an ASGI and WSGI server for FastAPI, Flask and the rest. It is written in Rust on Tokio and runs inside the Python thread that runs your application."
license = "MIT"
edition = "2024"
readme = "README.md"
keywords = ["web", "asyncio", "asgi", "wsgi", "http3"]
authors = ["grepjava <grepjava@gmail.com>"]
repository = "https://github.com/grepjava/weft"
homepage = "https://github.com/grepjava/weft"
include = [
"/Cargo.toml",
"/pyproject.toml",
"/build.rs",
"/LICENSE",
"/README.md",
"/src",
"/weft",
"!__pycache__",
"!*.so",
"!*.pyd",
]
[lib]
name = "_weft"
crate-type = ["cdylib"]
[dependencies]
base64 = "0.23.1"
brotli = "8"
bytes = "1.11"
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs"] }
h2 = "0.4"
h3 = { version = "0.0.8", features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes"] }
h3-quinn = "0.0.10"
http = "1"
quinn = { version = "0.11", default-features = false, features = ["rustls-ring", "runtime-tokio"] }
httparse = "1.10"
memmap2 = "0.9"
mimalloc = { version = "0.1.49", default-features = false, optional = true }
pyo3-ffi = "=0.29.2"
rustls = { version = "0.23", default-features = false, features = ["std", "tls12", "ring"] }
rustls-pemfile = "2"
sha1 = "0.11.0"
simdutf8 = "0.1.5"
slab = "0.4"
socket2 = { version = "0.6", features = ["all"] }
tokio = { version = "1.53", features = ["rt", "net", "time", "macros", "sync", "io-util"] }
x509-parser = "0.17"
zstd = "0.13"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_Security",
"Win32_System_IO",
"Win32_System_Threading",
] }
[build-dependencies]
pyo3-build-config = "=0.29.2"
[features]
default = ["mimalloc"]
mimalloc = ["dep:mimalloc"]
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
[profile.profiling]
inherits = "release"
debug = true
strip = false