-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
59 lines (51 loc) · 1.37 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
[workspace]
members = ["proc-macros", "core", "tauri-app"]
resolver = "2"
[workspace.package]
version = "0.14.0"
authors = ["Raicuparta"]
license = "GPL-3.0-or-later"
repository = "https://github.com/Raicuparta/rai-pal"
edition = "2021"
[workspace.dependencies]
log = "0.4.22"
rai-pal-core = { path = "./core" }
rai-pal-proc-macros = { path = "./proc-macros" }
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
specta = "2.0.0-rc"
tauri-specta = { version = "2.0.0-rc.20", features = ["derive", "typescript"] }
thiserror = "1.0.64"
[profile.release]
codegen-units = 1
incremental = false
lto = true
opt-level = "s"
panic = "abort"
strip = true
[profile.dev]
debug = 0
strip = "debuginfo"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
restriction = { level = "allow", priority = -1 }
# Restriction level lints:
as_conversions = "warn"
as_underscore = "warn"
box_collection = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
decimal_literal_representation = "warn"
default_numeric_fallback = "warn"
expect_used = "warn"
shadow_unrelated = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"
# Pedantic level lints:
too_many_lines = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"