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]
|
2023-07-24 21:38:16 +00:00
|
|
|
default = ["tui"]
|
2023-07-23 13:53:31 +00:00
|
|
|
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-10-31 17:04:18 +00:00
|
|
|
clap = { version = "4.4.7", features = ["derive"] }
|
2023-07-23 13:53:31 +00:00
|
|
|
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-10-14 10:41:05 +00:00
|
|
|
tokio = { version = "1.33", features = ["macros", "rt-multi-thread"] }
|
2023-07-23 13:53:31 +00:00
|
|
|
|
|
|
|
# lua stuff
|
2023-07-26 15:19:57 +00:00
|
|
|
language_macros = { path = "./language_macros" }
|
2023-09-09 17:44:00 +00:00
|
|
|
mlua = { version = "0.9.1", features = ["lua54", "async", "send", "serialize"] }
|
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 }
|
2023-11-01 12:26:07 +00:00
|
|
|
indexmap = { version = "2.1.0", optional = true }
|
2023-09-09 19:29:46 +00:00
|
|
|
directories = "5.0.1"
|
2023-07-24 15:10:12 +00:00
|
|
|
|
2023-10-16 11:56:18 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
pretty_assertions = "1.4.0"
|
|
|
|
|
2023-07-24 15:10:12 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|