59 lines
1.6 KiB
TOML
59 lines
1.6 KiB
TOML
[package]
|
|
name = "chorus"
|
|
description = "A library for interacting with multiple Spacebar-compatible Instances at once."
|
|
version = "0.4.0"
|
|
license = "AGPL-3.0"
|
|
edition = "2021"
|
|
repository = "https://github.com/polyphony-chat/chorus"
|
|
readme = "README.md"
|
|
keywords = ["spacebar", "discord", "polyphony"]
|
|
website = ["https://discord.com/invite/m3FpcapGDD"]
|
|
|
|
|
|
[features]
|
|
default = ["client"]
|
|
backend = ["poem", "sqlx"]
|
|
client = []
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.29.1", features = ["macros"] }
|
|
serde = { version = "1.0.188", features = ["derive", "rc"] }
|
|
serde_json = { version = "1.0.105", features = ["raw_value"] }
|
|
serde-aux = "4.2.0"
|
|
serde_with = "3.3.0"
|
|
serde_repr = "0.1.16"
|
|
reqwest = { version = "0.11.20", features = ["multipart", "json"] }
|
|
url = "2.4.0"
|
|
chrono = { version = "0.4.26", features = ["serde"] }
|
|
regex = "1.9.4"
|
|
custom_error = "1.9.2"
|
|
native-tls = "0.2.11"
|
|
tokio-tungstenite = { version = "0.20.0", features = ["native-tls"] }
|
|
futures-util = "0.3.28"
|
|
http = "0.2.9"
|
|
openssl = "0.10.56"
|
|
base64 = "0.21.3"
|
|
hostname = "0.3.1"
|
|
bitflags = { version = "2.4.0", features = ["serde"] }
|
|
lazy_static = "1.4.0"
|
|
poem = { version = "1.3.57", optional = true }
|
|
sqlx = { version = "0.7.1", features = [
|
|
"mysql",
|
|
"sqlite",
|
|
"json",
|
|
"chrono",
|
|
"ipnetwork",
|
|
"runtime-tokio-native-tls",
|
|
"any",
|
|
], optional = true }
|
|
thiserror = "1.0.47"
|
|
jsonwebtoken = "8.3.0"
|
|
log = "0.4.20"
|
|
async-trait = "0.1.73"
|
|
chorus-macros = { path = "chorus-macros", version = "0.1.0" }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.32.0", features = ["full"] }
|
|
lazy_static = "1.4.0"
|
|
rusty-hook = "0.11.2"
|