-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
57 lines (51 loc) · 1.21 KB
/
Cargo.toml
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
[package]
name = "signalupdates-bot"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
cfg-if = "1.0"
console_error_panic_hook = { version = "0.1.1", optional = true }
worker = "0.0.13"
worker-kv = "0.5"
anyhow = "1.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
semver = "1.0"
lenient_semver = "0.4"
strum = "0.26"
strum_macros = "0.26"
locale-codes = "0.3"
regex = "1.5"
lazy_static = "1.4"
sha2 = "0.10"
base16ct = { version = "0.2", features = ["alloc"] }
parse_link_header = "0.3"
chrono = { version = "0.4", default-features = false, features = ["std"] }
permute = "0.2"
askama_escape = "0.10"
tracing = { version = "0.1", features = [
"max_level_trace",
"release_max_level_trace",
] }
tracing-subscriber = "0.3"
tracing-wasm = "0.2"
factorial = "0.4"
subtle = "2.5"
[dev-dependencies]
test-case = "3.1"
pretty_assertions = "1.2"
reqwest = { version = "0.11", features = ["blocking", "json"] }
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
# https://docs.rust-embedded.org/book/unsorted/speed-vs-size.html#optimizing-dependencies
[profile.release.package."*"]
codegen-units = 1
opt-level = 3