-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
141 lines (129 loc) · 3.68 KB
/
Copy pathCargo.toml
File metadata and controls
141 lines (129 loc) · 3.68 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
131
132
133
134
135
136
137
138
139
140
141
[package]
name = "ic-gateway"
version = "0.2.0"
description = "HTTP-to-IC gateway"
edition = "2024"
default-run = "ic-gateway"
[features]
default = []
smtp = ["ic-bn-lib/smtp"]
sev-snp = ["ic-bn-lib/sev-snp"]
acme = ["ic-bn-lib/acme-dns", "ic-bn-lib/acme-alpn"]
bench = ["dep:ic-http-certification", "dep:rand_regex"]
tokio_console = ["dep:console-subscriber"]
debug = []
[dependencies]
ahash = "0.8.11"
bytes = "1.10.0"
axum-extra = { version = "0.12.6", features = ["middleware"] }
anyhow = "1.0.93"
arc-swap = "1.7.1"
async-trait = "0.1.83"
axum = { version = "0.8.1", features = ["macros"] }
candid = "0.10.10"
clap = { version = "4.5.20", features = ["derive", "string", "env"] }
console-subscriber = { version = "0.5.0", optional = true }
ctrlc = { version = "3.4.5", features = ["termination"] }
derive-new = "0.7.0"
fqdn = { version = "0.5.2", features = ["serde"] }
futures = "0.3.31"
hostname = "0.4.0"
http = "1.3.1"
http-body = "1.0.1"
http-body-util = "0.1.2"
humantime = "2.2.0"
ic-bn-lib = { version = "0.2.4", features = [
"acme",
"vector",
"cert-providers",
"clients-hyper",
] }
ic-bn-lib-common = "0.2.4"
ic-custom-domains-backend = "0.2.6"
ic-custom-domains-base = "0.2.6"
ic-http-certification = { version = "3.1.0", optional = true }
ic-transport-types = "0.47"
ic-http-gateway-protocol = { package = "ic-http-gateway-protocol", git = "https://github.com/dfinity/ic-http-gateway-protocol", tag = "v0.5.1" }
isbot = "0.1"
itertools = "0.15.0"
lazy_static = "1.5.0"
maxminddb = "0.28.1"
moka = { version = "0.12.8", features = ["sync", "future"] }
prometheus = "0.14.0"
rand = { version = "0.8.5", features = ["small_rng"] }
rand_regex = { version = "0.17.0", optional = true }
regex = "1.11.1"
reqwest = { version = "0.13.2", default-features = false, features = [
"http2",
"rustls",
"hickory-dns",
"json",
"stream",
] }
rustls = { version = "0.23.18", default-features = false, features = [
"aws-lc-rs",
"std",
"brotli",
] }
serde = "1.0.214"
serde_cbor = "0.11.2"
serde_json = "1.0.132"
sha2 = "0.11.0"
strum = { version = "0.28.0", features = ["derive"] }
thiserror = "2.0"
tikv-jemallocator = "0.7.0"
tikv-jemalloc-ctl = { version = "0.7.0", features = ["stats"] }
time = { version = "0.3.47", features = ["macros", "serde"] }
tokio = { version = "1.45.0", features = ["full", "tracing"] }
tokio-util = { version = "0.7.12", features = ["full"] }
tower = { version = "0.5.1", features = ["limit"] }
tower-http = { version = "0.7", features = ["cors", "compression-full"] }
tracing = "0.1.40"
tracing-core = "0.1.32"
tracing-serde = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = [
"env-filter",
"fmt",
"json",
] }
url = "2.5.3"
urlencoding = "2.1.3"
woothee = "0.13.0"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
hex = "0.4.3"
httptest = "0.16.1"
ic-certified-assets = { git = "https://github.com/dfinity/sdk.git", rev = "d65717bd6d0c172247c37dd23395c9fb13b2ba20" }
ic-http-certification = "3.1.0"
mockall = "0.14.0"
nix = { version = "0.31.0", features = ["signal"] }
pocket-ic = "=13.0.0"
rand_regex = "0.17.0"
serde_cbor = "0.11.2"
tempfile = "3.18.0"
wat = "1.228.0"
[profile.release]
strip = "symbols"
codegen-units = 1
lto = "fat"
panic = "abort"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
[package.metadata.cargo-all-features]
always_include_features = ["debug"]
denylist = ["bench", "tokio_console"]
[[bench]]
name = "domain_lookup"
harness = false
[[bench]]
name = "router"
harness = false
[[bench]]
name = "vector"
harness = false
[[bench]]
name = "http_gateway"
harness = false
[[bin]]
name = "create-acme-account"
path = "tools/create_acme_account.rs"