-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
51 lines (46 loc) · 1.71 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
[workspace]
members = ["dearrow-browser-server", "dearrow-browser-api", "dearrow-parser", "dearrow-browser-frontend"]
resolver = "2"
[workspace.package]
version = "1.14.7"
homepage = "https://dearrow.minibomba.pro"
repository = "https://github.com/mini-bomba/DeArrowBrowser"
license = "AGPL-3.0-only"
edition = "2021"
[workspace.dependencies]
built = { version = "0.7.5", features = ["git2", "chrono"] }
chrono = { version = "0.4.38", default-features = false }
cloneable_errors = { version = "1.0.3", features = ["serde"] }
enumflags2 = "0.7.10"
futures = { version = "0.3.31", default-features = false, features = ["std", "async-await"] }
git2 = { version = "0.19.0", default-features = false }
log = "0.4.22"
regex = "1.11.1"
reqwest = { version = "0.12.9", features = ["json"] }
serde = { version = "1.0.215", features = ["derive", "rc"] }
serde_json = "1.0.133"
sha2 = "=0.11.0-pre.4"
strum = { version = "0.26.3", features = ["derive"] }
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
todo = "warn"
# lints that aren't compatible with what I'm doing
struct_field_names = "allow" # triggers on things like "username" in the Username struct or "title" on Title
struct_excessive_bools = "allow" # false positives
# personal code style preferences
single_match_else = "allow"
wildcard_imports = "allow"
module_name_repetitions = "allow"
# might enable these later
must_use_candidate = "allow"
missing_errors_doc = "allow" # no docs currently
missing_panics_doc = "allow" # no docs currently
# let me do dumb shit
inline_always = "allow"
too_many_lines = "allow" # there's no such thing as a function with too many lines
[profile.release]
strip = true
lto = "thin"
[profile.dev]
opt-level = 1
strip = false