1[package] 2name = "quiche" 3version = "0.17.1" 4authors = ["Alessandro Ghedini <[email protected]>"] 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" 13rust-version = "1.66" 14include = [ 15 "/*.md", 16 "/*.toml", 17 "/COPYING", 18 "/deps/boringssl/**/*.[chS]", 19 "/deps/boringssl/**/*.asm", 20 "/deps/boringssl/src/**/*.cc", 21 "/deps/boringssl/**/CMakeLists.txt", 22 "/deps/boringssl/**/sources.cmake", 23 "/deps/boringssl/LICENSE", 24 "/examples", 25 "/include", 26 "/quiche.svg", 27 "/src", 28] 29 30[features] 31default = ["boringssl-vendored"] 32 33# Build the vendored BoringSSL library. 34boringssl-vendored = [] 35 36# Use the BoringSSL library provided by the boring crate. 37boringssl-boring-crate = ["boring", "foreign-types-shared"] 38 39# Generate pkg-config metadata file for libquiche. 40pkg-config-meta = [] 41 42# Equivalent to "--cfg fuzzing", but can also be checked in build.rs. 43fuzzing = [] 44 45# Build and expose the FFI API. 46ffi = [] 47 48[package.metadata.docs.rs] 49no-default-features = true 50features = ["boringssl-boring-crate", "qlog"] 51rustdoc-args = ["--cfg", "docsrs"] 52 53[build-dependencies] 54cmake = "0.1" 55 56[dependencies] 57log = { version = "0.4", features = ["std"] } 58libc = "0.2" 59libm = "0.2" 60ring = "0.16" 61slab = "0.4" 62lazy_static = "1" 63octets = { version = "0.2", path = "../octets" } 64boring = { version = "2.0.0", optional = true } 65foreign-types-shared = { version = "0.3.0", optional = true } 66qlog = { version = "0.9", path = "../qlog", optional = true } 67sfv = { version = "0.9", optional = true } 68smallvec = { version = "1.10", features = ["serde", "union"] } 69 70[target."cfg(windows)".dependencies] 71winapi = { version = "0.3", features = ["wincrypt", "ws2def", "ws2ipdef", "ws2tcpip"] } 72 73[dev-dependencies] 74mio = { version = "0.8", features = ["net", "os-poll"] } 75url = "1" 76 77[lib] 78crate-type = ["lib", "staticlib", "cdylib"] 79