-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (51 loc) · 1.12 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
58
59
60
61
[workspace]
resolver = "2"
members = ["bin"]
[workspace.package]
version = "0.2.0"
edition = "2021"
authors = ["Hantong Chen <[email protected]>"]
license = "MIT"
# === Lints ===
[workspace.lints.rust]
unsafe_code = "warn"
missing_docs = "warn"
missing_debug_implementations = "warn"
unreachable_pub = "warn"
[workspace.lints.clippy]
await_holding_lock = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
empty_enum = "warn"
enum_glob_use = "warn"
inefficient_to_string = "warn"
mem_forget = "warn"
mutex_integer = "warn"
needless_continue = "warn"
todo = "warn"
unimplemented = "warn"
wildcard_imports = "warn"
[package]
name = "cf-speedtest-v2"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
[package.metadata.release]
release = false
# # https://github.com/rustwasm/wasm-pack/issues/1247
# [package.metadata.wasm-pack.profile.release]
# wasm-opt = false
[lib]
crate-type = ["lib", "cdylib"]
[dependencies]
worker = "0.4"
worker-macros = "0.4"
console_error_panic_hook = "0.1"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = false
[lints]
workspace = true