-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (35 loc) · 974 Bytes
/
Cargo.toml
File metadata and controls
46 lines (35 loc) · 974 Bytes
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
[workspace]
members = [ "core", "quic", "http", "asyncffi" ]
exclude = [ "quinn" ]
resolver = "3"
[package]
name = "photon"
version = "1.0.4"
edition = "2024"
authors = [ "samicpp" ]
description = "Lowlevel Async FFI HTTP Framework"
repository = "https://github.com/samicpp/httplib"
readme = "README.md"
categories = ["network", "protocol", "http", "ffi"]
keywords = [
"http", "http/0.9", "http/1.0", "http/1.1", "http2", "websocket",
"ffi", "async",
]
[lib]
name = "photon"
crate-type = ["staticlib", "cdylib", "rlib"]
[dependencies]
quic = { path = "./quic" }
http = { path = "./http" }
asyncffi = { path = "./asyncffi", optional = true }
httprs_core = { path = "./core", optional = true }
[features]
default = ["asyncffi", "aws-lc-rs"]
asyncffi = ["dep:httprs_core", "dep:asyncffi"]
unix-sockets = ["asyncffi/unix-sockets"]
ring = ["asyncffi/ring"]
aws-lc-rs = ["asyncffi/aws-lc-rs"]
[profile.release]
panic = "abort"
[profile.dev]
panic = "unwind"