-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
94 lines (74 loc) · 2.07 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
[workspace]
resolver = "2"
members = [
"src/app",
"src/other/bsky",
"src/other/environment",
"src/other/repositories",
"src/other/services",
"src/other/utils",
]
# Lint groups for tracking:
# https://doc.rust-lang.org/rustc/lints/groups.html
# https://rust-lang.github.io/rust-clippy/master/index.html
# Also, use expect() instead of allow()
[workspace.lints.rust]
### Lint Groups
future_incompatible = "deny"
keyword_idents = "deny"
rust_2018_idioms = "deny"
rust_2018_compatibility = "deny"
rust_2021_compatibility = "deny"
rust_2024_compatibility = "deny"
let_underscore = "deny"
nonstandard_style = "deny"
refining_impl_trait = "deny"
unused = "warn"
### Overrides
unsafe_code = { level = "forbid", priority = 1 }
unused_imports = { level = "deny", priority = 1 }
[workspace.lints.clippy]
### Lint Groups
complexity = "deny"
correctness = "deny"
nursery = "deny"
pedantic = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"
### Overrides
missing_errors_doc = { level = "warn", priority = 1 }
missing_panics_doc = { level = "warn", priority = 1 }
[workspace.dependencies]
# Intra-workspace dependencies
repositories = { path = "src/other/repositories" }
environment = { path = "src/other/environment" }
services = { path = "src/other/services" }
utils = { path = "src/other/utils" }
bsky = { path = "src/other/bsky" }
# Serialization
ipld-core = "^0.4"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
# Errors
thiserror = "^1.0"
anyhow = "^1.0"
# Logging
tracing = "^0.1"
tracing-subscriber = { version = "^0.3", features = ["env-filter"] }
tracing-appender = "^0.2"
tracing-layer-discord = "^0.1"
debug_print = "^1.0"
color-eyre = "^0.6"
# ATrium
atrium-api = { version = "^0.24", features = ["tokio"] }
atrium-xrpc = "^0.11"
bsky-sdk = { version = "^0.1", features = ["config-toml"] }
# Other
async_once = "^0.2"
lazy_static = "^1.4"
dotenv = "^0.15"
sqlx = { version = "^0.8", features = ["sqlite", "runtime-tokio", "tls-native-tls"] }
chrono = "^0.4"
tokio = { version = "^1.37", features = ["rt-multi-thread", "fs", "macros", "signal"] }
regex = "^1.0"