48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
|
name = "abridged"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Configurable and fault-tolerant bridge for Discord, Matrix, and IRC"
|
|
readme = "README.md"
|
|
|
|
[features]
|
|
# platforms
|
|
irc = ["dep:irc"]
|
|
irc-sp = ["tokio/net"]
|
|
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
|
|
default = ["tls-rustls", "irc", "irc-sp", "discord", "matrix", "matrix-e2ee"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
env_logger = "0.10"
|
|
futures = "0.3"
|
|
log = "0.4"
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
tokio = { version = "1.28", features = ["rt-multi-thread", "macros", "time", "sync"] }
|
|
toml = "0.7"
|
|
strum_macros = "0.24"
|
|
strum = { version = "0.24", features = ["derive"] }
|
|
|
|
[dependencies.irc]
|
|
optional = true
|
|
version = "0.15"
|
|
default-features = false
|
|
|
|
[dependencies.matrix-sdk]
|
|
optional = true
|
|
version = "0.6"
|
|
default-features = false
|
|
|
|
[dependencies.serenity]
|
|
optional = true
|
|
version = "0.11"
|
|
default-features = false
|
|
features = ["client", "cache", "gateway", "model"]
|