-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
40 lines (34 loc) · 1.01 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
[package]
name = "sudoku-dioxus"
version = "0.4.3"
edition = "2021"
authors = ["Jose Storopoli <[email protected]>"]
description = "Sudoku PWA with Dioxus"
readme = "README.md"
[dependencies]
anyhow = "1"
dioxus = "0.4"
dioxus-web = "0.4"
rand = "0.8"
sudoku = "0.8"
# Dioxus debug
dioxus-logger = "0.4"
log = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
[dev-dependencies]
dioxus-ssr = "0.4"
regex = "1"
[lints.rust]
unsafe_code = "forbid" # Forbid unsafe code
[lints.clippy]
enum_glob_use = "deny" # Deny `use Enum::*`
pedantic = { level = "deny", priority = -1 } # Deny a bunch of stuff
nursery = { level = "deny", priority = -1 } # Deny another bunch of stuff
unwrap_used = "deny" # Deny `.unwrap()`
[profile.release]
opt-level = "z" # Optimized for size, use 3 for speed
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduced to increase optimizations
panic = "abort" # Abort on panic
strip = "symbols" # Strip symbols from binary