-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (74 loc) · 1.75 KB
/
Cargo.toml
File metadata and controls
93 lines (74 loc) · 1.75 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
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
[package]
name = "nbr"
version = "0.4.3"
edition = "2024"
description = "CLI for NoneBot2 - A Rust implementation"
license = "MIT"
repository = "https://github.com/nonebot/nbr"
readme = "README.md"
keywords = ["nonebot", "cli", "chatbot", "bot", "nbr"]
categories = ["command-line-utilities"]
[package.metadata]
authors = [{ name = "fllesser", email = "fllessive@gmail.com" }]
[[bin]]
name = "nbr"
path = "src/main.rs"
[dependencies]
# CLI framework
clap = { version = "4.5.53", features = ["derive", "color", "suggestions"] }
# Async runtime
tokio = { version = "1.48.0", features = [
"signal",
"process",
"rt-multi-thread",
"macros",
] }
# HTTP client
reqwest = { version = "0.12.27", features = [
"json",
"rustls-tls",
"stream",
], default-features = false }
# Serialization
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.146"
# serde_yaml = "0.9"
# TOML handling
toml = "0.9.8"
# Terminal UI and progress bars
indicatif = "0.18.3"
console = "0.16.2"
dialoguer = "0.12"
# Error handling
anyhow = "1.0.100"
thiserror = "2.0.17"
# Git operations
# git2 = { version = "0.20.2", default-features = false }
# Directory management
directories = "6.0"
# Regex support
regex = "1.12"
# File watching
notify = "8.2.0"
# System information
sysinfo = { version = "0.37.2", features = ["disk"] }
# Futures utilities
futures-util = "0.3"
# Logging
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = [
"env-filter",
"time",
"ansi",
] }
toml_edit = "0.24.0"
tracing-core = "0.1.36"
ansi_term = "0.12"
strum = { version = "0.27.2", features = ["derive"] }
[dev-dependencies]
tempfile = "3.23"
insta = { version = "1.42.1", features = ["yaml", "redactions"] }
[profile.release]
lto = true
codegen-units = 1
panic = "abort"