abridged/Cargo.toml

48 lines
1.2 KiB
TOML
Raw Permalink Normal View History

2023-05-23 02:49:37 +00:00
[package]
2023-05-25 21:38:17 +00:00
name = "abridged"
2023-05-23 02:49:37 +00:00
version = "0.1.0"
edition = "2021"
2023-05-25 21:38:17 +00:00
description = "Configurable and fault-tolerant bridge for Discord, Matrix, and IRC"
readme = "README.md"
2023-05-23 02:49:37 +00:00
2023-05-24 04:23:36 +00:00
[features]
# platforms
2023-05-24 04:23:36 +00:00
irc = ["dep:irc"]
2023-06-11 02:35:48 +00:00
irc-sp = ["tokio/net"]
2023-05-24 04:23:36 +00:00
matrix = ["dep:matrix-sdk"]
discord = ["dep:serenity"]
# tls
tls-native = ["irc?/tls-native", "matrix-sdk?/native-tls", "serenity?/native_tls_backend"]
tls-rustls = ["irc?/tls-rust", "matrix-sdk?/rustls-tls", "serenity?/rustls_backend" ]
# extra
matrix-e2ee = ["matrix", "matrix-sdk?/e2e-encryption"]
# default
2023-06-11 02:35:48 +00:00
default = ["tls-rustls", "irc", "irc-sp", "discord", "matrix", "matrix-e2ee"]
2023-05-24 04:23:36 +00:00
2023-05-23 02:49:37 +00:00
[dependencies]
async-trait = "0.1"
2023-05-24 04:23:36 +00:00
env_logger = "0.10"
2023-05-23 02:49:37 +00:00
futures = "0.3"
log = "0.4"
serde = { version = "1.0", features = ["derive", "rc"] }
2023-05-23 02:49:37 +00:00
tokio = { version = "1.28", features = ["rt-multi-thread", "macros", "time", "sync"] }
2023-05-24 04:23:36 +00:00
toml = "0.7"
2023-06-11 02:35:48 +00:00
strum_macros = "0.24"
strum = { version = "0.24", features = ["derive"] }
2023-05-24 04:23:36 +00:00
[dependencies.irc]
optional = true
version = "0.15"
default-features = false
2023-05-24 04:23:36 +00:00
[dependencies.matrix-sdk]
optional = true
version = "0.6"
default-features = false
2023-05-23 02:49:37 +00:00
2023-05-24 04:23:36 +00:00
[dependencies.serenity]
optional = true
version = "0.11"
2023-05-24 04:23:36 +00:00
default-features = false
features = ["client", "cache", "gateway", "model"]