2023-06-14 21:49:20 +00:00
|
|
|
[package]
|
|
|
|
name = "trinitrix"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-06-29 10:36:16 +00:00
|
|
|
license = "MIT"
|
2023-06-14 21:49:20 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2023-07-23 13:53:31 +00:00
|
|
|
[features]
|
|
|
|
default = ["full"]
|
|
|
|
full = ["cli", "tui"]
|
|
|
|
|
|
|
|
cli = ["tokio/io-std"]
|
|
|
|
tui = ["dep:tui", "dep:tui-textarea", "dep:crossterm", "dep:tokio-util", "dep:serde", "dep:indexmap"]
|
|
|
|
|
2023-06-14 21:49:20 +00:00
|
|
|
[dependencies]
|
2023-07-23 13:53:31 +00:00
|
|
|
clap = { version = "4.3.19", features = ["derive"] }
|
|
|
|
cli-log = "2.0"
|
2023-06-15 17:19:24 +00:00
|
|
|
anyhow = "1.0"
|
2023-07-23 13:53:31 +00:00
|
|
|
matrix-sdk = "0.6"
|
2023-07-09 06:41:25 +00:00
|
|
|
tokio = { version = "1.29", features = ["macros", "rt-multi-thread"] }
|
2023-07-23 13:53:31 +00:00
|
|
|
|
|
|
|
# lua stuff
|
|
|
|
lua_macros = { path = "./lua_macros" }
|
2023-07-20 19:49:23 +00:00
|
|
|
mlua = { version = "0.8.9", features = ["lua54", "async", "send"] }
|
2023-07-23 13:53:31 +00:00
|
|
|
once_cell = "1.18.0"
|
|
|
|
|
|
|
|
# tui feature specific parts
|
|
|
|
tui = {version = "0.19", optional = true}
|
|
|
|
tui-textarea = { version = "0.2", features = ["crossterm"], optional = true }
|
|
|
|
crossterm = { version = "0.25", optional = true }
|
|
|
|
tokio-util = { version = "0.7", optional = true }
|
|
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
indexmap = { version = "2.0.0", optional = true }
|