2023-04-04 16:42:20 +02:00
|
|
|
[package]
|
|
|
|
name = "chorus"
|
2023-08-27 01:00:43 +02:00
|
|
|
description = "A library for interacting with multiple Spacebar-compatible Instances at once."
|
2023-11-14 16:02:51 +01:00
|
|
|
version = "0.11.0"
|
2023-08-27 01:00:41 +02:00
|
|
|
license = "AGPL-3.0"
|
2023-04-04 16:42:20 +02:00
|
|
|
edition = "2021"
|
2023-08-27 01:00:43 +02:00
|
|
|
repository = "https://github.com/polyphony-chat/chorus"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["spacebar", "discord", "polyphony"]
|
2023-08-27 12:49:58 +02:00
|
|
|
website = ["https://discord.com/invite/m3FpcapGDD"]
|
2023-08-27 01:00:43 +02:00
|
|
|
|
2023-04-04 16:42:20 +02:00
|
|
|
|
2023-05-26 16:09:55 +02:00
|
|
|
[features]
|
2023-05-26 16:16:24 +02:00
|
|
|
default = ["client"]
|
2023-05-26 16:09:55 +02:00
|
|
|
backend = ["poem", "sqlx"]
|
|
|
|
client = []
|
|
|
|
|
2023-04-04 16:42:20 +02:00
|
|
|
[dependencies]
|
2023-08-02 20:17:36 +02:00
|
|
|
tokio = { version = "1.29.1", features = ["macros"] }
|
2023-08-27 00:51:52 +02:00
|
|
|
serde = { version = "1.0.188", features = ["derive", "rc"] }
|
|
|
|
serde_json = { version = "1.0.105", features = ["raw_value"] }
|
2023-05-14 08:20:25 +02:00
|
|
|
serde-aux = "4.2.0"
|
2023-08-27 00:51:52 +02:00
|
|
|
serde_with = "3.3.0"
|
|
|
|
serde_repr = "0.1.16"
|
|
|
|
reqwest = { version = "0.11.20", features = ["multipart", "json"] }
|
2023-07-17 20:06:57 +02:00
|
|
|
url = "2.4.0"
|
2023-08-02 20:17:36 +02:00
|
|
|
chrono = { version = "0.4.26", features = ["serde"] }
|
2023-08-27 00:51:52 +02:00
|
|
|
regex = "1.9.4"
|
2023-04-25 17:21:27 +02:00
|
|
|
custom_error = "1.9.2"
|
2023-11-14 12:33:12 +01:00
|
|
|
tokio-tungstenite = { version = "0.20.1", features = [
|
2023-11-12 17:20:32 +01:00
|
|
|
"rustls-tls-native-roots",
|
|
|
|
"rustls-native-certs",
|
|
|
|
] }
|
2023-05-11 00:06:13 +02:00
|
|
|
futures-util = "0.3.28"
|
2023-05-20 21:04:03 +02:00
|
|
|
http = "0.2.9"
|
2023-08-27 00:51:52 +02:00
|
|
|
base64 = "0.21.3"
|
2023-05-25 21:11:08 +02:00
|
|
|
hostname = "0.3.1"
|
2023-08-27 00:51:52 +02:00
|
|
|
bitflags = { version = "2.4.0", features = ["serde"] }
|
2023-05-25 21:11:08 +02:00
|
|
|
lazy_static = "1.4.0"
|
2023-08-27 00:51:52 +02:00
|
|
|
poem = { version = "1.3.57", optional = true }
|
2023-08-27 00:11:11 +02:00
|
|
|
sqlx = { version = "0.7.1", features = [
|
2023-08-02 20:17:36 +02:00
|
|
|
"mysql",
|
|
|
|
"sqlite",
|
|
|
|
"json",
|
|
|
|
"chrono",
|
|
|
|
"ipnetwork",
|
|
|
|
"runtime-tokio-native-tls",
|
|
|
|
"any",
|
|
|
|
], optional = true }
|
2023-08-27 00:51:52 +02:00
|
|
|
thiserror = "1.0.47"
|
2023-05-25 21:11:08 +02:00
|
|
|
jsonwebtoken = "8.3.0"
|
2023-08-27 00:51:52 +02:00
|
|
|
log = "0.4.20"
|
|
|
|
async-trait = "0.1.73"
|
2023-09-03 21:00:48 +02:00
|
|
|
chorus-macros = "0.2.0"
|
2023-11-12 17:20:32 +01:00
|
|
|
rustls = "0.21.8"
|
|
|
|
rustls-native-certs = "0.6.3"
|
|
|
|
rand = "0.8.5"
|
2023-05-20 21:04:03 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-08-27 00:51:52 +02:00
|
|
|
tokio = { version = "1.32.0", features = ["full"] }
|
2023-05-25 21:11:08 +02:00
|
|
|
lazy_static = "1.4.0"
|
2023-07-09 18:38:02 +02:00
|
|
|
rusty-hook = "0.11.2"
|