-
Notifications
You must be signed in to change notification settings - Fork 93
/
Cargo.toml
88 lines (76 loc) · 2 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "tquic"
version = "1.5.0"
edition = "2021"
rust-version = "1.70.0"
license = "Apache-2.0"
repository = "https://github.com/tencent/tquic"
homepage = "https://tquic.net"
description = "A high-performance, lightweight, and cross-platform QUIC library"
keywords = ["quic"]
categories = ["network-programming"]
build = "src/build.rs"
include = [
"/*.md",
"/*.toml",
"/LICENSE",
"/src",
"/benches",
"/include",
"/deps/boringssl/**/*.[chS]",
"/deps/boringssl/**/*.asm",
"/deps/boringssl/src/**/*.cc",
"/deps/boringssl/**/CMakeLists.txt",
"/deps/boringssl/**/sources.cmake",
"/deps/boringssl/LICENSE",
]
[package.metadata.docs.rs]
no-default-features = true
features = ["qlog", "h3"]
[features]
default = ["qlog", "h3"]
# build the FFI API
ffi = []
# enable support for the qlog
qlog = ["dep:serde", "dep:serde_json", "dep:serde_derive", "dep:serde_with"]
# enable support for h3
h3 = ["dep:sfv"]
[dependencies]
bytes = "1"
rustc-hash = "1.1"
slab = "0.4"
enumflags2 = "0.7.5"
ring = "0.17"
libc = "0.2"
lazy_static = "1"
log = { version = "0.4", features = ["std"] }
strum = "0.24"
strum_macros = "0.24"
rand = "0.8.5"
smallvec = { version = "1.10", features = ["serde", "union"] }
lru = "0.12"
serde = { version = "1.0.139", features = ["derive"], optional=true }
serde_json = { version = "1.0", features = ["preserve_order"], optional=true }
serde_derive = { version = "1.0", optional=true }
serde_with = { version="3.0.0", optional=true }
hex = "0.4"
priority-queue = "1.3.2"
sfv = { version = "0.9", optional=true }
[target."cfg(windows)".dependencies]
winapi = { version = "0.3", features = ["wincrypt", "ws2def", "ws2ipdef", "ws2tcpip"] }
[dev-dependencies]
env_logger = "0.10.0"
mio = { version = "0.8", features = ["net", "os-poll"] }
tempfile = "3.5.0"
ctor = "0.2.2"
criterion = "0.3"
timer_heap = "0.3.0"
[build-dependencies]
cmake = "0.1"
[lib]
crate-type = ["lib", "staticlib", "cdylib"]
[workspace]
members = ["tools"]
[[bench]]
name = "timer_queue"
harness = false