feat(gateway): initial commit

This commit is contained in:
spiral 2022-04-11 15:55:10 -04:00
parent 8e5b987b2c
commit fadf007abc
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
12 changed files with 2487 additions and 1 deletions

33
gateway/Cargo.toml Normal file
View file

@ -0,0 +1,33 @@
[package]
name = "pluralkit"
version = "0.1.0"
edition = "2021"
[dependencies]
# Infrastructure
anyhow = "1"
config = { version = "0.11", default-features = false, features = ["json"] }
futures = "0.3"
serde = { version = "1", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = "0.3"
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1", features = ["sync"] }
procfs = "0.12.0"
libc = "0.2.122"
# Twilight
twilight-cache-inmemory = "0.10.0"
twilight-gateway = "0.10.0"
twilight-gateway-queue = "0.10.0"
twilight-http = "0.10.0"
twilight-model = "0.10.0"
# Database
deadpool = "0.9"
deadpool-postgres = "0.10"
postgres-types = { version = "0.2", features = ["derive"] }
tokio-postgres = { version = "0.7", features = ["with-serde_json-1", "with-uuid-0_8"] }
redis = { version = "0.21.5", features = ["aio", "tokio-comp"] }