Copy euph-api-related parts from cove

Also includes the required dependencies and some minor changes to the
module structure, as well as all the clippy and rustc warnings.
This commit is contained in:
Joscha 2022-08-18 00:46:16 +02:00
parent 629ce3ceb9
commit 1495095fa8
11 changed files with 1524 additions and 12 deletions

View file

@ -4,3 +4,16 @@ version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.62" # TODO Remove
futures = "0.3.23"
log = "0.4.17" # TODO Remove
rand = "0.8.5"
serde = { version = "1.0.143", features = ["derive"] }
serde_json = "1.0.83"
thiserror = "1.0.32"
time = { version = "0.3.13", features = ["serde"] }
tokio = { version = "1.20.1", features = ["time", "sync", "macros", "rt"] }
[dependencies.tokio-tungstenite]
version = "0.17.2"
features = ["rustls-tls-native-roots"]