forked from trinitrix/core
1
0
Fork 0
core/Cargo.toml

40 lines
1.1 KiB
TOML
Raw Normal View History

2023-06-14 21:49:20 +00:00
[package]
name = "trinitrix"
version = "0.1.0"
edition = "2021"
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
[features]
default = ["tui"]
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-12-14 14:33:56 +00:00
clap = { version = "4.4.11", features = ["derive"] }
cli-log = "2.0"
anyhow = "1.0"
matrix-sdk = "0.6"
2023-12-14 14:33:56 +00:00
tokio = { version = "1.35", features = ["macros", "rt-multi-thread"] }
# lua stuff
trixy = { path = "./trixy" }
keymaps = { path = "./keymaps", features = ["crossterm"] }
2023-12-14 14:33:56 +00:00
mlua = { version = "0.9.2", features = ["lua54", "async", "send", "serialize"] }
once_cell = "1.19.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-07 19:47:49 +00:00
indexmap = { version = "2.1.0", optional = true }
directories = "5.0.1"
2023-10-16 11:56:18 +00:00
[dev-dependencies]
pretty_assertions = "1.4.0"
[profile.release]
lto = true