ratatrix/Cargo.toml

90 lines
2.6 KiB
TOML

[package]
name = "ratatrix"
version = "0.1.0"
edition = "2021"
rust-version = "1.73"
description = "A TUI Matrix client designed to be as customisable and ergonomic as an IRC client"
repository = "https://git.tf/val/ratatrix"
authors = ["Val Lorentz"]
license = "AGPL-3.0-only AND MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Async
futures = "0.3.28"
tokio = { version = "1.32.0", features = ["full"] }
tokio-util = "0.7.9"
tracing = "0.1.37"
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "serde"] }
# CLI
clap = { version = "4.4.5", features = ["derive", "cargo", "wrap_help", "unicode", "string", "unstable-styles"] }
# Config
bounded-integer = { version = "0.5.7", features = ["types"] }
config = "0.13.3"
derive_deref = "1.1.1"
directories = "5.0.1"
hostname = "0.3.1"
json5 = "0.4.1"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
serde_path_to_error = "0.1.14"
# TODO: switch to toml_edit to preserve (and write) doc comments
# Error handling
better-panic = "0.3.0"
color-eyre = "0.6.2"
human-panic = "1.2.0"
# Formatting
hex = "0.4.3"
html5ever = "0.26.0"
html-escape = "0.2.13"
markup5ever_rcdom = "0.2.0"
# Internal
enum_dispatch = "0.3.12"
inventory = "0.3"
itertools = "0.11.0"
lazy_static = "1.4.0"
lender = "0.2.1"
libc = "0.2.148"
log = "0.4.20"
memuse = "0.2.1"
nonempty = { version = "0.8.1", features = ["serialize"] }
signal-hook = "0.3.17"
smallvec = "1.11.1"
sorted-vec = "0.8.3"
# Matrix
eyeball = "0.8.7" # data structures observer returned by matrix-sdk-ui
eyeball-im = "0.4.2" # immutable data structures observer returned by matrix-sdk-ui
imbl = "2.0" # ditto
matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", rev = "5c37acb81ce624d83be54b5140cd60399b556fb2", features = ["eyre", "markdown"] }
matrix-sdk-ui = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", rev = "5c37acb81ce624d83be54b5140cd60399b556fb2" }
#matrix-sdk = { path = "../matrix-rust-sdk/crates/matrix-sdk", features = ["eyre", "markdown"] }
#matrix-sdk-ui = { path = "../matrix-rust-sdk/crates/matrix-sdk-ui" }
# UI
ansi-to-tui = "3.1.0"
chrono = "0.4.31"
crossterm = { version = "0.27.0", features = ["serde", "event-stream"] }
ratatui = { version = "0.26.0", features = ["serde", "macros"] }
strip-ansi-escapes = "0.2.0"
tui-textarea = "0.3.0"
unicode-width = "0.1"
[patch.crates-io]
#ratatui = { path = "../ratatui", features = ["serde", "macros"] }
[dev-dependencies]
pretty_assertions = "1.4.0"
unicode-segmentation = "1.10"
[profile.release]
lto = "thin"