-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
105 lines (89 loc) · 3.11 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
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
[package]
name = "rust_digger"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Collecting information about Rust Crates"
keywords = ["cli", "web"]
categories = ["web-programming::http-server"]
readme = "README.md"
repository = "https://github.com/szabgab/rust-digger"
homepage = "https://rust-digger.code-maven.com/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
chrono = "0.4.26"
clap = { version = "4.3", features = ["derive"] }
csv = "1.2.2"
flate2 = "1.0.28"
liquid = "0.26.4"
liquid-filter-commafy = "0.1.1"
log = "0.4"
once_cell = "1.18.0"
regex = "1.9.3"
reqwest = { version = "0.11.20", features = ["blocking"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
simple_logger = "4.2"
tar = "0.4.40"
tempdir = "0.3.7"
thousands = "0.2.0"
toml = "0.8.12"
walkdir = "2.5"
markdown = { git = "https://github.com/wooorm/markdown-rs.git" }
[[bin]]
name = "html"
path = "src/html.rs"
[[bin]]
name = "fmt"
path = "src/fmt.rs"
[[bin]]
name = "analyze-vcs"
path = "src/vcs.rs"
[[bin]]
name = "clone"
path = "src/clone.rs"
[[bin]]
name = "download-db-dump"
path = "src/download_db_dump.rs"
[[bin]]
name = "download-crates"
path = "src/download_crates.rs"
[[bin]]
name = "analyze-crates"
path = "src/analyze_crates.rs"
[lints.clippy]
cargo = { priority = -1, level = "deny" }
complexity = { priority = -1, level = "deny" }
correctness = { priority = -1, level = "deny" }
nursery = { priority = -1, level = "deny" }
pedantic = { priority = -1, level = "deny" }
perf = { priority = -1, level = "deny" }
restriction = { priority = -1, level = "deny" }
style = { priority = -1, level = "deny" }
suspicious = { priority = -1, level = "deny" }
blanket_clippy_restriction_lints = "allow" # We use Extreme Clippy so yes, we wanted to enable everything.
multiple_crate_versions = "allow" # I am not sure if we can fix this given that they are all brought in by dependencies
implicit_return = "allow" # We want to encourage implicit return in this project
question_mark_used = "allow" # We like using ? as a way to shorten code.
module_name_repetitions = "allow" # I don't mind it as it makes the functions more readable.
absolute_paths = "allow" # I like using absoulut paths in function calls.
single_call_fn = "allow" # We prefer to have shorter functions even if they are only used once.
float_arithmetic = "allow" # In this application it is fine to have float arithmetic
cast_precision_loss = "allow" # Not an issue for this application
allow_attributes_without_reason = "allow" # No need to entrer empty reason field
arithmetic_side_effects = "allow"
as_conversions = "allow"
exhaustive_structs = "allow"
indexing_slicing = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
unwrap_used = "allow"
cast_lossless = "allow"
default_numeric_fallback = "allow"
expect_used = "allow"
unnecessary_wraps = "allow"
std_instead_of_core = "allow"