-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathCargo.toml
More file actions
130 lines (122 loc) · 3.62 KB
/
Cargo.toml
File metadata and controls
130 lines (122 loc) · 3.62 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Copyright (c) 2025 Cloudflare, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
[workspace]
# This is needed to avoid pulling in tokio features in wasm targets, due to new features in version 0.0.18 of the `worker` crate
# See: https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#details
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.3.0"
authors = [
"Christopher Patton <cpatton@cloudflare.com>",
"Armando Faz Hernandez <armfazh@cloudflare.com>",
"Pedro Mendes <pmendes@cloudflare.com>",
]
edition = "2021"
license = "BSD-3-Clause"
readme = "README.md"
homepage = "https://github.com/cloudflare/daphne"
repository = "https://github.com/cloudflare/daphne"
rust-version = "1.80"
[profile.release]
opt-level = "s"
[profile.release-symbols]
inherits = "release"
opt-level = 3
debug = 1
[workspace.dependencies]
anyhow = "1.0.86"
assert_matches = "1.5.0"
async-trait = "0.1.80"
axum = { version = "0.7.5", default-features = false }
axum-extra = "0.9"
base64 = "0.21.7"
bytes = "1"
cap = "0.1.2"
capnp = "0.18.13"
capnpc = "0.18.1"
cfg-if = "1.0.0"
chrono = { version = "0.4.38", default-features = false, features = ["clock", "wasmbind"] }
clap = { version = "4.5.7", features = ["derive"] }
config = "0.13.4"
constcat = "0.5.0"
criterion = { version = "0.5.1", features = ["async_tokio"] }
deepsize = { version = "0.2.0" }
dhat = "0.3.3"
either = "1.13.0"
futures = "0.3.30"
getrandom = "0.2.15"
headers = "0.4"
hex = { version = "0.4.3", features = ["serde"] }
hpke-rs = "0.2.0"
hpke-rs-crypto = "0.2.0"
hpke-rs-rust-crypto = "0.2.0"
http = "1"
http-body-util = "0.1.2"
mappable-rc = "0.1.1"
matchit = "0.7.3"
p256 = { version = "0.13.2", features = ["ecdsa-core", "ecdsa", "pem"] }
paste = "1.0.15"
prio_draft09 = { package = "prio", version = "0.16.7" }
# TODO Point to version `0.17.0` once release. This revision is one commit ahead of `0.17.0-alpha.0`.
prio = { git = "https://github.com/divviup/libprio-rs.git", rev = "e5e8a47ee4567f7588d0b5c8d20f75dde4061b2f" }
prometheus = "0.13.4"
rand = "0.8.5"
rayon = "1.10.0"
rcgen = "0.12.1"
regex = "1.10.5"
reqwest = { version = "0.12.5", default-features = false, features = ["rustls-tls-native-roots"] }
ring = "0.17.13"
rustls = "0.23.10"
rustls-native-certs = "0.7"
rustls-pemfile = "2.1.3"
serde = { version = "1.0.203", features = ["derive"] }
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.118"
serde_yaml = "0.9.33"
static_assertions = "1"
strum = { version = "0.26.3", features = ["derive"] }
subtle = "2.6.1"
thiserror = "1.0.61"
tokio = { version = "1.44.2", features = ["macros", "rt-multi-thread"] }
tower = "0.4.13"
tower-service = "0.3"
tracing = "0.1.40"
tracing-core = "0.1.32"
tracing-subscriber = "0.3.18"
url = { version = "2.5.4", features = ["serde"] }
wasm-bindgen = "0.2.99"
webpki = "0.22.4"
worker = "0.5"
x509-parser = "0.15.1"
[workspace.dependencies.sentry]
version = "0.32.3"
default-features = false
features = [
"backtrace",
"contexts",
"debug-images",
"panic",
"reqwest",
"rustls",
]
[workspace.lints.rustdoc]
broken_intra_doc_links = "warn"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_panics_doc = "allow"
missing_errors_doc = "allow"
cast_precision_loss = "allow"
too_many_lines = "allow"
needless_pass_by_value = "allow"
if_not_else = "allow"
default_trait_access = "allow"
items_after_statements = "allow"
redundant_closure_for_method_calls = "allow"
inconsistent_struct_constructor = "allow"
similar_names = "allow"
inline_always = "allow"
no_effect_underscore_binding = "allow"
disallowed_methods = "deny"