-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (53 loc) · 1.74 KB
/
Cargo.toml
File metadata and controls
59 lines (53 loc) · 1.74 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
[package]
name = "render"
version = "0.2.0"
authors = ["Matthias Endler <matthias-endler@gmx.net>"]
edition = "2024"
description = "Static analysis tools catalog renderer"
license = "MIT"
repository = "https://github.com/analysis-tools-dev/static-analysis"
keywords = ["static-analysis", "linting", "tools", "catalog"]
categories = ["development-tools"]
[lints.clippy]
# Correctness lints (enabled by default, but being explicit)
correctness = { level = "deny", priority = -1 }
# Style lints
style = { level = "warn", priority = -1 }
complexity = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
# Additional strict lints
cargo = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
# Specific lints we want to enforce
missing_docs_in_private_items = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
unwrap_used = "deny"
expect_used = "warn"
panic = "deny"
unimplemented = "deny"
unreachable = "deny"
todo = "warn"
print_stdout = "warn"
print_stderr = "warn"
dbg_macro = "warn"
# Allow some pedantic lints that might be too noisy
module_name_repetitions = "allow"
similar_names = "allow"
too_many_lines = "allow" # We'll use the clippy.toml threshold instead
[dependencies]
serde = "1.0.228"
serde_derive = "1.0.136"
serde_yaml = "0.9.34"
askama = "0.12.1"
# Switch back to crates as soon as a new release with tokio 1.x support is
# released. See https://github.com/softprops/hubcaps/pull/285
hubcaps = { git="https://github.com/softprops/hubcaps" }
tokio = { version = "1.43.4", features = ["rt-multi-thread", "macros"] }
chrono = "0.4.43"
anyhow = "1.0.102"
pico-args = "0.5.0"
serde_json = "1.0.149"
slug = "0.1.6"