-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
121 lines (101 loc) · 2.87 KB
/
Cargo.toml
File metadata and controls
121 lines (101 loc) · 2.87 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[workspace]
members = [
"crates/rustirc-core",
"crates/rustirc-protocol",
"crates/rustirc-gui",
"crates/rustirc-tui",
"crates/rustirc-scripting",
"crates/rustirc-plugins",
]
resolver = "2"
# Documentation settings
[workspace.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[workspace.dependencies]
# Async runtime
tokio = { version = "1.49", features = ["full"] }
tokio-rustls = "0.26"
# TLS
rustls = "0.23"
rustls-pemfile = "2.2"
webpki-roots = "1.0"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.148"
toml = "0.9"
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Logging
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
# Text processing
regex = "1.12.1"
async-trait = "0.1"
# System integration
open = "5.3.3"
clipboard = "0.5"
dirs = "6.0"
notify-rust = "4"
tokio-socks = "0.5"
# UI
# iced 0.14.0 - Major release with reactive rendering, time-travel debugging, and API improvements
iced = { version = "0.14.0", features = ["tokio", "debug", "advanced"] }
ratatui = "0.30.0"
crossterm = "0.29"
# Scripting
mlua = { version = "0.11", features = ["lua54", "vendored", "async", "send"] }
# Testing
mockall = "0.13"
proptest = "1.9"
tokio-test = "0.4"
pretty_assertions = "1.4"
criterion = { version = "0.8.1", features = ["html_reports"] }
# CLI
clap = { version = "4.6.0", features = ["derive"] }
[package]
name = "rustirc"
version = "0.4.2"
edition = "2021"
rust-version = "1.75.0"
authors = ["RustIRC Contributors"]
description = "A powerful, modern IRC client combining the best of mIRC, HexChat, and WeeChat"
documentation = "https://docs.rs/rustirc"
homepage = "https://github.com/doublegate/RustIRC"
repository = "https://github.com/doublegate/RustIRC"
license = "MIT"
readme = "README.md"
keywords = ["irc", "chat", "client", "gui", "tui"]
categories = ["network-programming", "gui", "command-line-utilities"]
[[bin]]
name = "rustirc"
path = "src/main.rs"
[dependencies]
anyhow = { workspace = true }
clap = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
tokio = { workspace = true }
rustirc-core = { path = "crates/rustirc-core" }
rustirc-protocol = { path = "crates/rustirc-protocol" }
rustirc-gui = { path = "crates/rustirc-gui" }
rustirc-tui = { path = "crates/rustirc-tui" }
rustirc-scripting = { path = "crates/rustirc-scripting" }
rustirc-plugins = { path = "crates/rustirc-plugins" }
[profile.dev]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.bench]
opt-level = 3
debug = false
# Patch vulnerable lru 0.12.5 by replacing iced_glyphon with patched version
# The patched version updates lru from 0.12.1 to 0.16.3 which includes the security fix
# See SECURITY-FIX-RUSTSEC-2026-0002.md for details
[patch.crates-io]
iced_glyphon = { path = "vendor/iced_glyphon" }