-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
64 lines (54 loc) · 1.92 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
[package]
name = "sfontplayer"
version = "0.11.0"
edition = "2021"
repository = "https://github.com/sevonj/sfontplayer"
license = "GPL-3.0-or-later"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# -- GUI
eframe = { version = "0.30.0", features = ["persistence"] } # GUI Framework
egui_extras = { version = "0.30.0", features = [
"all_loaders",
] } # Extra gui components
rfd = "0.15.2" # File dialog
egui-notify = "0.18.0" # toasts
# -- Persistence
serde = { version = "1.0.217", features = ["derive"] } # Remember app state
serde_repr = "0.1.19"
serde_json = "1.0.134"
# -- Audio
rodio = "0.20.1" # Audio
rustysynth = "1.3.4" # midi
midi-msg = "0.7.5" # midi types
# -- Misc
rand = "0.8.5"
build-info = "0.0.39" # For dependency listing
walkdir = "2.5.0"
size_format = "1.0.2" # File sizes into string
open = "5.3.2" # Open path in file exprorer
anyhow = "1.0.95" # Errors
souvlaki = "0.7.3" # Media control/metadata system integration
directories = "5.0.1"
relative-path = "1.9.3"
[build-dependencies]
build-info-build = "0.0.39" # For dependency listing
[profile.release]
opt-level = 3
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
nursery = { level = "deny", priority = 0 }
pedantic = { level = "deny", priority = 1 }
enum_glob_use = { level = "deny", priority = 2 }
module_name_repetitions = { level = "allow", priority = 3 }
cast_precision_loss = { level = "allow", priority = 4 }
cast_possible_truncation = { level = "allow", priority = 5 }
cast_sign_loss = { level = "allow", priority = 6 }
out_of_bounds_indexing = { level = "allow", priority = 7 }
perf = { level = "warn", priority = 8 }
style = { level = "warn", priority = 9 }
unwrap_used = { level = "deny", priority = 10 }
# expect_used = { level = "deny", priority = 11 }
struct_excessive_bools = { level = "allow", priority = 12 }
similar_names = { level = "allow", priority = 13 }