-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (41 loc) · 1.25 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
[package]
name = "twitch-curses"
version = "0.1.0"
edition = "2021"
default-run = "twitch-tui"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "twitch-tui"
path = "src/main.rs"
required-features = ["ui"]
[[bin]]
name = "online-check"
path = "src/online-check.rs"
[dependencies]
# TUI library (my fork)
ratatui = { git = "https://github.com/bolshoytoster/ratatui", optional = true }
# ratatui backend
crossterm = { version = "*", optional = true }
# {,De}serialization
serde = { version = "*", features = ["derive"] }
# JSON (faster than the serde one)
simd-json = "*"
# HTTPS
curl = "*"
# Date formatting
chrono = "*"
# Chat
irc = { version = "*", optional = true }
# Line wrapping, since ratatui doesn't expose it's internal one
textwrap = { version = "*", optional = true }
# Async
tokio = { version = "*", features = ["full", "time"], optional = true }
futures = { version = "*", optional = true }
# Websockets
tokio-tungstenite = { version = "*", features = ["native-tls"], optional = true }
[features]
default = ["chat"]
# Only used for the tui
ui = ["ratatui", "crossterm"]
# These are only needed for chat
chat = ["irc", "crossterm/event-stream", "textwrap", "tokio", "futures", "tokio-tungstenite", "ui"]