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"
|
2024-05-03 19:23:26 +00:00
|
|
|
default-run = "trinitrix"
|
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]
|
2024-05-03 19:23:26 +00:00
|
|
|
clap = { version = "4.5.4", 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"
|
2024-05-03 19:23:26 +00:00
|
|
|
tokio = { version = "1.37", features = ["macros", "rt-multi-thread"] }
|
|
|
|
|
|
|
|
# config
|
|
|
|
trinitry = {version = "0.1.0"}
|
|
|
|
keymaps = {version = "0.1.1", features = ["crossterm"] }
|
|
|
|
|
|
|
|
# c api
|
|
|
|
libloading = "0.8.3"
|
2024-05-04 13:00:58 +00:00
|
|
|
trixy = {version = "0.1.1"}
|
2023-07-23 13:53:31 +00:00
|
|
|
|
|
|
|
# lua stuff
|
2024-05-03 19:23:26 +00:00
|
|
|
mlua = { version = "0.9.7", features = ["lua54", "async", "send", "serialize"] }
|
2023-12-14 14:33:56 +00:00
|
|
|
once_cell = "1.19.0"
|
2023-07-23 13:53:31 +00:00
|
|
|
|
|
|
|
# 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 }
|
2024-05-03 19:23:26 +00:00
|
|
|
indexmap = { version = "2.2.6", 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"
|
|
|
|
|
2024-05-03 19:23:26 +00:00
|
|
|
[build-dependencies]
|
2024-05-04 13:00:58 +00:00
|
|
|
trixy = { version = "0.1.1" }
|
2024-05-03 19:23:26 +00:00
|
|
|
|
2023-07-24 15:10:12 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|