-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (71 loc) · 1.92 KB
/
Copy pathCargo.toml
File metadata and controls
78 lines (71 loc) · 1.92 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
75
76
77
78
[workspace]
members = ["formats/*", "io", "util"]
[package]
name = "java-mapping-serde"
version = "0.1.0"
categories = ["parsing"]
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
[workspace.package]
edition = "2024"
authors = ["Jiening Yu <jiening.yu@outlook.com>"]
license = "GPL-3.0-or-later"
repository = "https://codeberg.org/DM-Earth/mapping-serde"
[dependencies]
[features]
default = ["std"]
std = ["alloc"]
alloc = []
[lints]
workspace = true
[workspace.lints.rust]
missing-docs = "warn"
missing-debug-implementations = "warn"
let-underscore-drop = "warn"
single-use-lifetimes = "warn"
trivial-numeric-casts = "warn"
elided-lifetimes-in-paths = "deny"
unused-lifetimes = "forbid"
unused-macro-rules = "warn"
unused-qualifications = "warn"
variant-size-differences = "warn"
dyn-drop = "forbid"
ellipsis-inclusive-range-patterns = "forbid"
exported-private-dependencies = "forbid"
uncommon-codepoints = "deny"
unexpected_cfgs = { level = "warn", check-cfg = [] }
[workspace.lints.clippy]
missing-panics-doc = "warn"
missing-errors-doc = "warn"
cloned-instead-of-copied = "warn"
future-not-send = "warn"
if-not-else = "warn"
if-then-some-else-none = "warn"
impl-trait-in-params = "warn"
macro-use-imports = "deny"
exhaustive-enums = "warn"
str-to-string = "warn"
iter-without-into-iter = "warn"
decimal-literal-representation = "warn"
ref-as-ptr = "warn"
unused-trait-names = "warn"
unnecessary-semicolon = "warn"
unnecessary-debug-formatting = "warn"
too-long-first-doc-paragraph = "warn"
ref-option = "warn"
redundant-test-prefix = "warn"
map-with-unused-argument-over-ranges = "warn"
manual-midpoint = "warn"
manual-is-power-of-two = "warn"
ip-constant = "warn"
elidable-lifetime-names = "warn"
coerce-container-to-any = "warn"
todo = "warn"
inline-always = "warn"
multiple-crate-versions = "warn"
use-self = "warn"
useless-let-if-seq = "warn"
suboptimal-flops = "warn"
redundant-clone = "warn"