-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (96 loc) · 2.58 KB
/
Copy pathCargo.toml
File metadata and controls
107 lines (96 loc) · 2.58 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[package]
name = "mado"
description = "A fast Markdown linter."
version = "0.3.1"
edition = "2024"
repository = "https://github.com/akiomik/mado"
license = "Apache-2.0"
authors = ["Akiomi Kamakura <akiomik@gmail.com>"]
keywords = ["markdown", "lint"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
include = [
"/src",
"/benches",
"/tests",
"/LICENSE",
"/README.md",
"/CHANGELOG.md",
]
[dependencies]
clap = { version = "4.6.0", features = ["derive"] }
clap_complete = "4.6.3"
colored = "3.1.1"
comrak = "0.54"
etcetera = "0.11.0"
globset = { version = "0.4.18", features = ["serde1"] }
ignore = "0.4.25"
linkify = "0.11.0"
miette = { version = "7.6.0", features = ["fancy"] }
regex = "1.12.2"
rustc-hash = "2.1.2"
scraper = "0.27.0"
serde = { version = "1.0", features = ["derive"] }
toml = "1.1.3"
[target.'cfg(target_os = "windows")'.dependencies]
mimalloc = "0.1.48"
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), not(target_os = "aix"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
tikv-jemallocator = "0.7.0"
[dev-dependencies]
assert_cmd = "2.2"
criterion = "0.8"
indoc = "2"
pretty_assertions = "1"
rand = "0.10"
serial_test = "3.5"
tempfile = "3.27"
[profile.release]
lto = "thin"
[profile.bench]
debug = true
[lints.clippy]
cargo = { level = "warn", priority = -1 }
complexity = { level = "warn", priority = -1 }
correctness = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
# pedantic
module_name_repetitions = "allow"
# restrictions
absolute_paths = "warn"
blanket_clippy_restriction_lints = "warn"
clone_on_ref_ptr = "warn"
empty_structs_with_brackets = "warn"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
expect_used = "warn"
integer_division_remainder_used = "warn"
missing_inline_in_public_items = "warn"
shadow_unrelated = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
str_to_string = "warn"
unwrap_in_result = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
# TODO: Enable following rules
allow_attributes_without_reason = "allow"
arithmetic_side_effects = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_docs_in_private_items = "allow"
multiple_crate_versions = "allow"
[[bench]]
name = "trailing_space"
harness = false
[[bench]]
name = "node_traverse"
harness = false
[[bench]]
name = "output"
harness = false
[[bench]]
name = "hard_tab_search"
harness = false