2024-05-04 18:43:16 +00:00
|
|
|
# Copyright (C) 2024 - 2024:
|
2024-05-06 14:29:15 +00:00
|
|
|
# The Trinitrix Project <benedikt.peetz@b-peetz.de, antifallobst@systemausfall.org, sils@sils.li>
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2024-05-04 18:43:16 +00:00
|
|
|
#
|
|
|
|
# This file is part of Trinitrix.
|
|
|
|
#
|
2024-05-08 19:18:29 +00:00
|
|
|
# Trinitrix is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published
|
|
|
|
# by the Free Software Foundation, either version 3 of the License,
|
|
|
|
# or (at your option) any later version.
|
2024-05-04 18:43:16 +00:00
|
|
|
#
|
2024-05-08 19:18:29 +00:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# General Public License for more details.
|
2024-05-04 18:43:16 +00:00
|
|
|
#
|
2024-05-08 19:18:29 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2024-05-04 18:43:16 +00:00
|
|
|
|
2023-06-14 21:49:20 +00:00
|
|
|
[package]
|
|
|
|
name = "trinitrix"
|
2024-05-04 18:40:02 +00:00
|
|
|
description = "A multi protocol chat client"
|
2023-06-14 21:49:20 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2024-05-06 14:29:15 +00:00
|
|
|
license = "GPL-3.0-or-later"
|
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
|
|
|
|
|
|
|
|
[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"
|
2024-05-04 19:06:17 +00:00
|
|
|
tokio = { version = "1.37", features = [
|
2024-05-14 12:01:54 +00:00
|
|
|
"macros",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"fs",
|
|
|
|
"time",
|
|
|
|
"io-util"
|
2024-05-04 19:06:17 +00:00
|
|
|
] }
|
|
|
|
tokio-util = { version = "0.7.10" }
|
2024-05-14 12:01:54 +00:00
|
|
|
uuid = { version = "1.8.0", features = ["v4"] }
|
|
|
|
rand = "0.8.5"
|
|
|
|
serde = { version = "1.0.201", features = ["derive"] }
|
|
|
|
rmp-serde = "1.3.0"
|
|
|
|
strum = { version = "0.26.2", features = ["derive"] }
|
2024-05-03 19:23:26 +00:00
|
|
|
|
|
|
|
# config
|
2024-05-04 19:06:17 +00:00
|
|
|
trinitry = { version = "0.1.0" }
|
|
|
|
keymaps = { version = "0.1.1", features = ["crossterm"] }
|
2024-05-04 13:43:31 +00:00
|
|
|
directories = "5.0.1"
|
2024-05-03 19:23:26 +00:00
|
|
|
|
2024-05-14 12:01:54 +00:00
|
|
|
# crypto
|
|
|
|
x25519-dalek = "2.0.1"
|
|
|
|
aes-gcm-siv = { version = "0.11.1", features = ["aes"] }
|
|
|
|
|
2024-05-03 19:23:26 +00:00
|
|
|
# c api
|
|
|
|
libloading = "0.8.3"
|
2024-05-04 19:06:17 +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
|
2024-05-08 19:54:30 +00:00
|
|
|
ratatui = "0.26.2"
|
|
|
|
tui-textarea = { version = "0.4", features = ["crossterm"] }
|
2024-05-04 19:06:17 +00:00
|
|
|
crossterm = { version = "0.25" }
|
2023-07-24 15:10:12 +00:00
|
|
|
|
2024-05-14 12:01:54 +00:00
|
|
|
# Trinitrx Backend API specific
|
|
|
|
interprocess = { version = "2.1.0", features = ["tokio"] }
|
2024-05-15 14:51:45 +00:00
|
|
|
triba-packet = { path = "../triba-packet" }
|
2024-05-21 02:20:40 +00:00
|
|
|
triba = { path = "../triba" }
|
2024-05-14 12:01:54 +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
|