-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (68 loc) · 1.52 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
75
76
77
78
79
[package]
name = "mdlinker"
version = "1.6.1"
edition = "2021"
[profile.dev]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
debug = true
[dependencies]
aho-corasick = "1.1.3"
bon = "3.3.0"
clap = { version = "4.5.16", features = ["derive"] }
comrak = "0.32.0"
console = "0.15.10"
derive_more = { version = "1.0.0", features = ["full"] }
env_logger = "0.11.5"
fuzzy-matcher = "0.3.7"
getset = "0.1.3"
git2 = "0.19.0"
glob = "0.3.1"
hashbrown = "0.15.0"
indicatif = "0.17.8"
itertools = "0.13.0"
lazy_static = "1.5.0"
log = "0.4.22"
miette = { version = "7.2.0", features = ["fancy"] }
rayon = "1.10.0"
regex = "1.10.6"
serde = { version = "1.0.208", features = ["derive"] }
serde_yaml = "0.9.34"
strum = "0.26.3"
strum_macros = "0.26.4"
thiserror = "1.0.63"
toml = "0.8.19"
walkdir = "2.5.0"
[dev-dependencies]
iai-callgrind = "0.14.0"
[[bench]]
name = "bench_main"
harness = false
[[test]]
name = "logseq"
[profile.bench]
debug = true
# [lints.rust]
# missing_docs = "deny"
[lints.clippy]
# Enable specific Clippy lints
pedantic = { level = "warn", priority = -1 }
unwrap_used = "warn"
panic = "warn"
trivially_copy_pass_by_ref = "warn"
inefficient_to_string = "warn"
# missing_docs_in_private_items = "warn"
doc_markdown = "warn"
missing_fields_in_debug = "warn"
redundant_clone = "warn"
# Deny these lints
cast_possible_truncation = "deny"
cast_precision_loss = "deny"
# Allow these lints
too_many_lines = "allow"
missing_errors_doc = "allow"
similar_names = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"