forked from emmett-framework/granian
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (75 loc) · 2.5 KB
/
Cargo.toml
File metadata and controls
85 lines (75 loc) · 2.5 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
83
84
85
[package]
name = "granian"
version = "2.7.2"
description = "A Rust HTTP server for Python applications"
authors = ["Giovanni Barillari <g@baro.dev>"]
license = "BSD-3-Clause"
edition = "2024"
keywords = ["web", "asyncio"]
readme = "README.md"
homepage = "https://github.com/emmett-framework/granian"
repository = "https://github.com/emmett-framework/granian"
include = [
"/Cargo.toml",
"/pyproject.toml",
"/build.rs",
"/LICENSE",
"/README.md",
"/src",
"/granian",
"/tests",
"!__pycache__",
"!tests/.pytest_cache",
"!*.so",
]
[lib]
name = "_granian"
crate-type = ["cdylib"]
[dependencies]
anyhow = "=1.0"
bytes = "1.11"
ciborium = "=0.2"
crossbeam-channel = "0.5"
encoding_rs = "=0.8"
futures = "=0.3"
futures-util = { version = "=0.3", default-features = false }
http-body-util = { version = "=0.1" }
hyper = { version = "=1.8", features = ["http1", "http2", "server"] }
hyper-util = { version = "=0.1", features = ["server-auto", "tokio"] }
interprocess = { version = "=2.3", git = "https://github.com/kotauskas/interprocess.git", rev = "44351c4fe88c72ead4f3b0b762c4cf45beb90841", features = ["tokio"] }
itertools = "0.14"
log = "0.4"
mimalloc = { version = "0.1.43", default-features = false, features = ["local_dynamic_tls", "v3"], optional = true }
mime_guess = "=2.0"
pem = "=3.0"
percent-encoding = "=2.3"
pin-project-lite = "=0.2"
pkcs8 = { version = "=0.10", features = ["encryption", "pkcs5"] }
pyo3 = { version = "=0.27", features = ["anyhow", "bytes", "extension-module", "generate-import-lib"] }
pyo3-log = { version = "=0.13", git = "https://github.com/gi0baro/pyo3-log.git", branch = "pyo3-027" }
rustls-pemfile = "2.2"
serde = { version = "1.0.228", features = ["derive"] }
socket2 = { version = "=0.6", features = ["all"] }
sysinfo = "=0.37"
tikv-jemallocator = { version = "0.6.0", default-features = false, features = ["disable_initial_exec_tls"], optional = true }
tls-listener = { version = "=0.11", git = "https://github.com/gi0baro/tls-listener.git", branch = "0.11.x", features = ["rustls-ring", "rustls-tls12"] }
tokio = { version = "1.45", features = ["full"] }
tokio-stream = "0.1"
tokio-tungstenite = "=0.28"
tokio-util = { version = "0.7", features = ["codec", "rt"] }
[build-dependencies]
pyo3-build-config = "=0.27"
[features]
jemalloc = ["dep:tikv-jemallocator"]
mimalloc = ["dep:mimalloc"]
[profile.release]
lto = "fat"
panic = "abort"
strip = true
[profile.unstripped]
inherits = "release"
strip = "debuginfo"
[profile.profiling]
inherits = "release"
debug = true
strip = false