-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (31 loc) · 1010 Bytes
/
Cargo.toml
File metadata and controls
36 lines (31 loc) · 1010 Bytes
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
# TODO(template) update for the crate name
[workspace]
members = ["examples", "template_crate"]
resolver = "3"
default-members = ["template_crate"]
[workspace.package]
version = "0.1.0"
edition = "2024"
# TODO(template) update for your repository
repository = "https://github.com/NethermindEth/rust-template"
license = "Apache-2.0" # TODO(template) update license if needed
publish = false
[workspace.dependencies]
proptest = "1"
[workspace.lints.rust]
missing_docs = "deny"
# TODO(template) if you use any unsafe code, then running miri in CI is a must
# if for a crate in the workspace you need an unsafe code
# prefer to preserve forbid for the workspace
# and allowing only at a specific crate level
unsafe_code = "forbid"
[workspace.lints.clippy]
arithmetic_side_effects = "deny"
cast_lossless = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
needless_return = "deny"
panicking_overflow_checks = "deny"
unwrap_used = "deny"