-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (85 loc) · 2.41 KB
/
Cargo.toml
File metadata and controls
91 lines (85 loc) · 2.41 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
86
87
88
89
90
91
[workspace]
resolver = "3"
members = [
"crates/cli",
"crates/design",
"crates/lib",
"crates/x",
"crates/wasm",
]
[workspace.package]
authors = ["Langston Barrett <langston.barrett@gmail.com>"]
edition = "2024"
homepage = "https://github.com/langston-barrett/lesshand"
license = "MIT"
# readme = "README.md"
[workspace.dependencies]
anyhow = { version = "1" }
clap = { features = ["derive"], version = "4" }
expect-test = "1"
lesshand = { version = "0.1.0", path = "crates/lib" }
proptest = "1"
[workspace.lints.clippy]
# pedantic = { level = "warn", priority = -1 }
case_sensitive_file_extension_comparisons = "allow"
dbg_macro = "warn"
explicit_iter_loop = "warn"
format_push_string = "warn"
ignore_without_reason = "warn"
implicit_clone = "warn"
implicit_hasher = "allow"
inefficient_to_string = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
needless_borrow = "warn"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
redundant_else = "warn"
return_self_not_must_use = "warn"
semicolon_if_nothing_returned = "warn"
todo = "warn"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "warn"
unimplemented = "warn"
uninlined_format_args = "warn"
unreadable_literal = "warn"
use_debug = "warn"
[workspace.lints.rust]
absolute_paths_not_starting_with_crate = "warn"
dead_code = "warn"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
keyword_idents_2018 = "warn"
keyword_idents_2024 = "warn"
let_underscore_drop = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_abi = "warn"
missing_debug_implementations = "warn"
missing_unsafe_on_extern = "warn"
non_ascii_idents = "warn"
noop_method_call = "warn"
rust_2021_incompatible_closure_captures = "warn"
rust_2021_incompatible_or_patterns = "warn"
rust_2021_prefixes_incompatible_syntax = "warn"
rust_2021_prelude_collisions = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unstable_features = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
# https://nnethercote.github.io/perf-book/build-configuration.html
[profile.release]
codegen-units = 1
lto = "fat"
# https://github.com/mstange/samply#turn-on-debug-info-for-full-stacks
[profile.profiling]
inherits = "release"
debug = true