Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (78 loc) · 2.22 KB
/
Copy pathCargo.toml
File metadata and controls
85 lines (78 loc) · 2.22 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
79
80
81
82
83
84
85
[workspace]
members = ["cli"]
resolver = "3"
[package]
name = "java-remapper"
version = "0.1.0"
description = "JVM bytecode remapper library"
keywords = ["java", "remap", "bytecode", "remapper"]
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/java-remapper"
[dependencies]
classfile = { version = "0.1", package = "java-classfile" }
mapping-serde = { version = "0.1", package = "java-mapping-serde" }
java-bin-name = "0.3"
smol_str = "0.3"
simd_cesu8 = "1.2"
scc = "3.8"
ahash = { version = "0.8", optional = true }
rustc-hash = { version = "2.1", optional = true }
[features]
default = ["ahash"]
ahash = ["dep:ahash"]
fx-hash = ["dep:rustc-hash"]
[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"
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"
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"
useless_let_if_seq = "warn"
suboptimal_flops = "warn"
redundant_clone = "warn"