blob: 12bddf87173823ed5fabbd7d5f289aa983c1fcb8 [file] [log] [blame]
Jeff Vander Stoep2bbaf7e2020-12-04 14:00:07 +01001[package]
2name = "quiche"
Joel Galenson96d408b2021-06-08 17:53:00 -07003version = "0.9.0"
Jeff Vander Stoep2bbaf7e2020-12-04 14:00:07 +01004authors = ["Alessandro Ghedini <alessandro@ghedini.me>"]
5edition = "2018"
6build = "src/build.rs"
7description = "🥧 Savoury implementation of the QUIC transport protocol and HTTP/3"
8repository = "https://github.com/cloudflare/quiche"
9readme = "README.md"
10keywords = ["quic", "http3"]
11categories = ["network-programming"]
12license = "BSD-2-Clause"
13include = [
14 "/*.md",
15 "/*.toml",
16 "/CODEOWNERS",
17 "/COPYING",
18 "/benches",
19 "/deps/boringssl/**/*.[chS]",
Joel Galenson96d408b2021-06-08 17:53:00 -070020 "/deps/boringssl/**/*.asm",
Jeff Vander Stoep2bbaf7e2020-12-04 14:00:07 +010021 "/deps/boringssl/src/**/*.cc",
22 "/deps/boringssl/**/CMakeLists.txt",
23 "/deps/boringssl/**/sources.cmake",
24 "/deps/boringssl/LICENSE",
25 "/examples",
26 "/include",
27 "/quiche.svg",
28 "/src",
29]
30
31[features]
32default = ["boringssl-vendored"]
33
34# Build vendored BoringSSL library.
35boringssl-vendored = []
36
37# Generate pkg-config metadata file for libquiche.
38pkg-config-meta = []
39
40# Equivalent to "--cfg fuzzing", but can also be checked in build.rs.
41fuzzing = []
42
43# For building with Android NDK < 18 and GCC.
44ndk-old-gcc = []
45
Joel Galenson96d408b2021-06-08 17:53:00 -070046# Expose the FFI API.
47ffi = []
48
Jeff Vander Stoep2bbaf7e2020-12-04 14:00:07 +010049[package.metadata.docs.rs]
50no-default-features = true
51
52[build-dependencies]
53cmake = "0.1"
54
55[dependencies]
56log = { version = "0.4", features = ["std"] }
57libc = "0.2"
58libm = "0.2"
59ring = "0.16"
60lazy_static = "1"
Joel Galenson96d408b2021-06-08 17:53:00 -070061boring-sys = { version = "1.0.2", optional = true }
62qlog = { version = "0.4", path = "tools/qlog", optional = true }
Jeff Vander Stoep2bbaf7e2020-12-04 14:00:07 +010063
64[target."cfg(windows)".dependencies]
65winapi = { version = "0.3", features = ["wincrypt"] }
66
67[dev-dependencies]
68mio = "0.6"
69url = "1"
70
71[profile.bench]
72debug = true
73
74[profile.release]
75debug = true
76
77[lib]
78crate-type = ["lib", "staticlib", "cdylib"]