Debian Codegraph @

third_party/rust/ohttp/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 name = "ohttp"
15 version = "0.5.1"
16 authors = ["Martin Thomson <[email protected]>"]
17 build = "build.rs"
18 description = "Oblivious HTTP"
19 readme = "README.md"
20 license = "MIT OR Apache-2.0"
21 repository = "https://github.com/martinthomson/ohttp"
22
23 [dependencies.aead]
24 version = "0.4"
25 features = ["std"]
26 optional = true
27
28 [dependencies.aes-gcm]
29 version = "0.9"
30 optional = true
31
32 [dependencies.byteorder]
33 version = "1.3"
34
35 [dependencies.chacha20poly1305]
36 version = "0.8"
37 optional = true
38
39 [dependencies.hex]
40 version = "0.4"
41
42 [dependencies.hkdf]
43 version = "0.11"
44 optional = true
45
46 [dependencies.hpke]
47 version = "0.10.0"
48 features = [
49 "std",
50 "x25519",
51 ]
52 optional = true
53 default-features = false
54
55 [dependencies.hpke-pq]
56 version = "0.10.1"
57 features = [
58 "std",
59 "x25519",
60 "xyber768d00",
61 ]
62 optional = true
63 default-features = false
64 package = "hpke_pq"
65
66 [dependencies.lazy_static]
67 version = "1.4"
68
69 [dependencies.log]
70 version = "0.4.0"
71 default-features = false
72
73 [dependencies.rand]
74 version = "0.8"
75 optional = true
76
77 [dependencies.sha2]
78 version = "0.9"
79 optional = true
80
81 [dependencies.thiserror]
82 version = "1"
83
84 [dev-dependencies.env_logger]
85 version = "0.9"
86 default-features = false
87
88 [build-dependencies.bindgen]
89 version = "0.64"
90 features = ["runtime"]
91 optional = true
92 default-features = false
93
94 [build-dependencies.mozbuild]
95 version = "0.1"
96 optional = true
97
98 [build-dependencies.serde]
99 version = "1.0"
100
101 [build-dependencies.serde_derive]
102 version = "1.0"
103
104 [build-dependencies.toml]
105 version = "0.5"
106
107 [features]
108 app-svc = ["nss"]
109 client = []
110 default = [
111 "client",
112 "server",
113 "rust-hpke",
114 ]
115 external-sqlite = []
116 gecko = [
117 "nss",
118 "mozbuild",
119 ]
120 nss = ["bindgen"]
121 pq = ["hpke-pq"]
122 rust-hpke = [
123 "rand",
124 "aead",
125 "aes-gcm",
126 "chacha20poly1305",
127 "hkdf",
128 "sha2",
129 "hpke",
130 ]
131 server = []