-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
55 lines (46 loc) · 1.68 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
[workspace]
members = [
"crates/cargo-gpu",
]
exclude = [
"crates/spirv-builder-cli",
# This currently needs to be excluded because it depends on a version of `rust-gpu` that
# uses a toolchain whose Cargo version doesn't recognise version 4 of `Cargo.lock`.
"crates/shader-crate-template"
]
resolver = "2"
[workspace.dependencies]
anyhow = "1.0.94"
clap = { version = "4.4.8", features = ["derive"] }
chrono = { version = "0.4.38", default-features = false, features = ["std"] }
crossterm = "0.28.1"
directories = "5.0.1"
env_home = "0.1.0"
env_logger = "0.10"
http = "1.2.0"
log = "0.4"
relative-path = "1.9.3"
serde = { version = "1.0.214", features = ["derive"] }
serde_json = "1.0.132"
toml = "0.8.19"
test-log = "0.2.16"
[workspace.lints.rust]
missing_docs = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = 0 }
pedantic = { level = "warn", priority = 0 }
nursery = { level = "warn", priority = 0 }
cargo = { level = "warn", priority = 0 }
restriction = { level = "warn", priority = 0 }
blanket_clippy_restriction_lints = { level = "allow", priority = 1 }
arithmetic_side_effects = { level = "allow", priority = 1 }
absolute_paths = { level = "allow", priority = 1 }
cargo_common_metadata = { level = "allow", priority = 1 }
implicit_return = { level = "allow", priority = 1 }
single_call_fn = { level = "allow", priority = 1 }
question_mark_used = { level = "allow", priority = 1 }
multiple_crate_versions = { level = "allow", priority = 1 }
pub_with_shorthand = { level = "allow", priority = 1 }
partial_pub_fields = { level = "allow", priority = 1 }
pattern_type_mismatch = { level = "allow", priority = 1 }
std_instead_of_alloc = { level = "allow", priority = 1 }