-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
74 lines (69 loc) · 1.91 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "hack-assembler"
version = "0.1.0"
edition = "2024"
description = """\
An assembler that translates programs written in the Hack \
assembly language into Hack binary code.\
"""
repository = "https://github.com/hashcatHitman/hack-assembler"
license = "AGPL-3.0-or-later"
keywords = ["nand2tetris", "assembler"]
categories = ["command-line-utilities", "compilers", "parser-implementations"]
publish = false
[lints.rust]
unsafe_code = "forbid"
deprecated_safe_2024 = "forbid"
missing_unsafe_on_extern = "forbid"
unsafe_attr_outside_unsafe = "forbid"
unsafe_op_in_unsafe_fn = "forbid"
absolute_paths_not_starting_with_crate = "warn"
ambiguous_negative_literals = "warn"
closure_returning_async_block = "warn"
fuzzy_provenance_casts = "warn"
if_let_rescope = "warn"
lossy_provenance_casts = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unqualified_local_imports = "warn"
unused_crate_dependencies = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"
unused_results = "warn"
[lints.clippy]
correctness = "forbid"
suspicious = "warn"
complexity = "warn"
perf = "warn"
style = "warn"
pedantic = "warn"
cargo = "warn"
missing_docs_in_private_items = { level = "warn", priority = 1 }
must_use_candidate = { level = "allow", priority = 1 }
nursery = "warn"
unwrap_used = { level = "warn", priority = 1 }
expect_used = { level = "warn", priority = 1 }
[dependencies]
strum = "0.27"
strum_macros = "0.27"
[profile.release]
codegen-units = 1
strip = "symbols"
opt-level = 3
debug = false
lto = true
incremental = false
[profile.release.build-override]
codegen-units = 1
strip = "symbols"
opt-level = 3
debug = false
incremental = false