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