-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (48 loc) · 1.22 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (48 loc) · 1.22 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
[workspace]
members = ["crates/wizard", "xtask"]
resolver = "3"
[workspace.package]
version = "0.1.0"
authors = ["Adrian Raduk"]
edition = "2024"
rust-version = "1.95.0"
publish = false
[workspace.lints.rust]
unsafe_code = "deny"
dead_code = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
alloc_instead_of_core = "warn"
allow_attributes = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
str_to_string = "warn"
implicit_clone = "warn"
suboptimal_flops = "warn"
unnecessary_self_imports = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
use_self = "warn"
too_many_lines = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
[workspace.dependencies]
anyhow = "1.0.104"
clap = "4.5.60"
semver = "1.0.28"
serde_json = "1.0.151"
tauri = "2.11.5"
tauri-build = "2.6.3"
tauri-plugin-updater = { version = "2.11.0", default-features = false, features = ["rustls-tls"] }
tempfile = "3.27.0"
# Read the optimization guideline for more details:
# https://tauri.app/concept/size/#cargo-configuration
[profile.release]
codegen-units = 1
lto = true
opt-level = "s"
panic = "abort"
strip = true