forked from cloudflare/quiche
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
78 lines (64 loc) · 1.66 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
[package]
name = "quiche"
version = "0.7.0"
authors = ["Alessandro Ghedini <[email protected]>"]
edition = "2018"
build = "src/build.rs"
description = "🥧 Savoury implementation of the QUIC transport protocol and HTTP/3"
repository = "https://github.com/cloudflare/quiche"
readme = "README.md"
keywords = ["quic", "http3"]
categories = ["network-programming"]
license = "BSD-2-Clause"
include = [
"/*.md",
"/*.toml",
"/CODEOWNERS",
"/COPYING",
"/benches",
"/deps/boringssl/**/*.[chS]",
"/deps/boringssl/**/*.asm",
"/deps/boringssl/src/**/*.cc",
"/deps/boringssl/**/CMakeLists.txt",
"/deps/boringssl/**/sources.cmake",
"/deps/boringssl/LICENSE",
"/examples",
"/include",
"/quiche.svg",
"/src",
]
[features]
default = ["boringssl-vendored"]
# Build vendored BoringSSL library.
boringssl-vendored = []
# Generate pkg-config metadata file for libquiche.
pkg-config-meta = []
# Equivalent to "--cfg fuzzing", but can also be checked in build.rs.
fuzzing = []
# For building with Android NDK < 18 and GCC.
ndk-old-gcc = []
# Expose the FFI API.
ffi = []
[package.metadata.docs.rs]
no-default-features = true
[build-dependencies]
cmake = "0.1"
[dependencies]
log = { version = "0.4", features = ["std"] }
libc = "0.2"
libm = "0.2"
ring = "0.16"
lazy_static = "1"
boring-sys = { version = "1.0.2", optional = true }
qlog = { version = "0.4", path = "tools/qlog", optional = true }
[target."cfg(windows)".dependencies]
winapi = { version = "0.3", features = ["wincrypt"] }
[dev-dependencies]
mio = "0.6"
url = "1"
[profile.bench]
debug = true
[profile.release]
debug = true
[lib]
crate-type = ["lib", "staticlib", "cdylib"]