-
-
Notifications
You must be signed in to change notification settings - Fork 88
/
Cargo.toml
66 lines (59 loc) · 1.58 KB
/
Cargo.toml
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
[package]
name = "granian"
version = "1.7.3"
description = "A Rust HTTP server for Python applications"
authors = ["Giovanni Barillari <[email protected]>"]
license = "BSD-3-Clause"
edition = "2021"
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"
crossbeam-channel = "0.5"
futures = "=0.3"
http-body-util = { version = "=0.1" }
hyper = { version = "=1.5", features = ["http1", "http2", "server"] }
hyper-util = { version = "=0.1", features = ["server-auto", "tokio"] }
itertools = "0.13"
log = "0.4"
pem = "=3.0"
percent-encoding = "=2.3"
pin-project = "1.1"
pkcs8 = { version = "=0.10", features = ["encryption", "pkcs5"] }
pyo3 = { version = "=0.23", features = ["anyhow", "extension-module", "generate-import-lib"] }
pyo3-log = "=0.12"
rustls-pemfile = "2.2"
socket2 = { version = "0.5", features = ["all"] }
tls-listener = { version = "=0.10", features = ["rustls-ring"] }
tokio = { version = "1.40", features = ["full"] }
tokio-stream = "0.1"
tokio-tungstenite = "=0.24"
tokio-util = { version = "0.7", features = ["codec"] }
[build-dependencies]
pyo3-build-config = "=0.23"
[profile.release]
codegen-units = 1
debug = false
incremental = false
lto = "fat"
opt-level = 3
panic = "abort"
strip = true