-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (61 loc) · 1.55 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
62
63
64
65
66
67
68
[workspace]
resolver = "2"
members = [
"server",
"shared",
"client",
"xtask",
]
[patch.crates-io]
hobo = { path = "hobo/hobo" }
hobo_derive = { path = "hobo/hobo_derive" }
hobo_css = { path = "hobo/hobo_css" }
hobo_css_macros = { path = "hobo/hobo_css_macros" }
hobo-plus = { path = "hobo-plus" }
utils = { path = "utils" }
chrono = { git = "https://github.com/Awpteamoose/chrono", branch = "rkyv-upd" }
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
[profile.wasm-release]
inherits = "release"
strip = "symbols"
opt-level = "s"
lto = "fat"
codegen-units = 1
panic = "abort"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
clone_on_ref_ptr = "warn"
decimal_literal_representation = "warn"
todo = "warn"
option_if_let_else = "warn"
redundant_pub_crate = "warn"
if_then_some_else_none = "warn"
mod_module_files = "warn"
# too many false-positives, unfortunately
# shadow_unrelated = "warn"
str_to_string = "warn"
string_to_string = "warn"
missing_panics_doc = "allow"
cast_precision_loss = "allow"
module_name_repetitions = "allow"
default_trait_access = "allow"
new_without_default = "allow"
non_ascii_literal = "allow"
too_many_lines = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
wildcard_imports = "allow"
doc_markdown = "allow"
must_use_candidate = "allow"
cast_lossless = "allow"
implicit_hasher = "allow"
cast_possible_wrap = "allow"
used_underscore_binding = "allow"
uninlined-format-args = "allow"
option-if-let-else = "allow"
allow_attributes_without_reason = "allow"