chore: init project
This commit is contained in:
commit
36982f9d95
4 changed files with 49 additions and 0 deletions
17
.editorconfig
Normal file
17
.editorconfig
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Default to Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
[*.rs]
|
||||
indent_size = 2
|
||||
|
||||
[*.js]
|
||||
indent_size = 2
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/target
|
1
.rustfmt.toml
Normal file
1
.rustfmt.toml
Normal file
|
@ -0,0 +1 @@
|
|||
hard_tabs = true
|
30
Cargo.toml
Normal file
30
Cargo.toml
Normal file
|
@ -0,0 +1,30 @@
|
|||
[package]
|
||||
name = "owncast-chat-tui"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = [ "alemi <me@alemi.dev>" ]
|
||||
description = "a simple owncast chat in your terminal, using websockets"
|
||||
license = "MIT"
|
||||
keywords = ["cli", "owncast", "chat", "tui"]
|
||||
repository = "https://moonlit.technology/alemi/owncast-chat-tui"
|
||||
readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
tokio = { version = "1.37", features = ["rt", "macros", "io-util"] }
|
||||
tokio-tungstenite = "0.21"
|
||||
futures-util = "0.3.30"
|
||||
serde = { version = "1.0.203", features = ["derive"] }
|
||||
serde_json = "1.0.117"
|
||||
chrono = { version = "0.4.38", features = ["serde"] }
|
||||
reqwest = { version = "0.12.4", features = ["json"] }
|
||||
dissolve = "0.2.2"
|
||||
ratatui = { version = "0.26", features = ["all-widgets", "crossterm"] }
|
||||
crossterm = { version = "0.27", features = ["event-stream"] }
|
||||
async-trait = "0.1.80"
|
||||
futures = "0.3.30"
|
||||
|
||||
[features]
|
||||
default = ["native-tls"]
|
||||
native-tls = ["tokio-tungstenite/native-tls"]
|
||||
rustls-tls = ["tokio-tungstenite/rustls-tls-native-roots"]
|
Loading…
Reference in a new issue