-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (61 loc) · 2.17 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (61 loc) · 2.17 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[workspace]
members = [
"singularity_ui",
# "singularity_sap",
"singularity_common",
"singularity_common/singularity_macros",
"singularity_sporg",
"singularity_sde",
"singularity_sttk",
"singularity_standard_tabs",
# "singularity_standard_tabs/*", # TODO: make the asterisk work
"singularity_standard_tabs/dylib_math_game",
"singularity_sar",
"singularity_wl_compositor",
# "dynamic_plugin_sandbox/server",
# "dynamic_plugin_sandbox/client",
]
resolver = "2"
[workspace.dependencies]
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
uuid = { version = "^1.23.3", features = ["v4", "serde"] }
paste = { version = "1" }
libloading = { version = "^0.9" }
libc = { version = "^0.2" }
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
log = { version = "^0.4" }
image = { version = "^0.25" }
# [[members]]
# singularity_ui = { features = ["iced_backend"] }
[workspace.lints.clippy]
# all = "warn"
pedantic = { level = "warn", priority = -1 }
# nursery = "warn" # these are for experimental lints
cargo = { level = "warn", priority = -1 }
# all the pedantic stuff I'm not going to listen to:
# something with common things to put in a Crate like liscence and stuff
# TODO: enable; I'll do these if I ever put this on crates.io
cargo_common_metadata = "allow"
# I think this technically bloats the system but might be inevitable?
# I also just don't have wifi rn so I can't do anything about it rn...
multiple_crate_versions = "allow"
# Doc suggestions that are too pedantic, especially since it's just me developing rn
doc_markdown = "allow"
too_long_first_doc_paragraph = "allow" # more like too_long_lint_name (bam roasted)
missing_panics_doc = "allow"
missing_errors_doc = "allow"
# opinionated stuff
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
unsafe_derive_deserialize = "allow"
cast_possible_wrap = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
items_after_statements = "allow"
struct_excessive_bools = "allow"
struct_field_name = "allow"
[workspace.lint.rustc]
unused_qualifications = "warn"