Skip to content

Commit

Permalink
Goodbye boilerplate, hello poise
Browse files Browse the repository at this point in the history
  • Loading branch information
DaXcess committed Nov 17, 2023
1 parent 74a35df commit b42292f
Show file tree
Hide file tree
Showing 30 changed files with 4,987 additions and 2,060 deletions.
654 changes: 588 additions & 66 deletions Cargo.lock

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,35 +1,40 @@
[package]
name = "spoticord"
version = "2.1.3"
version = "2.2.0"
edition = "2021"
rust-version = "1.65.0"
rust-version = "1.67.0"

[[bin]]
name = "spoticord"
path = "src/main.rs"

[workspace]

[features]
stats = ["redis"]

[dependencies.spoticord_audio]
path = "./spoticord_audio"

[dependencies]
anyhow = "1.0.75"
dotenvy = "0.15.7"
env_logger = "0.10.0"
env_logger = "0.10.1"
hex = "0.4.3"
lazy_static = "1.4.0"
librespot = { version = "0.4.2", default-features = false }
log = "0.4.20"
poise = "0.5.7"
protobuf = "2.28.0"
redis = { version = "0.23.3", optional = true, default-features = false }
reqwest = { version = "0.11.22", default-features = false }
samplerate = "0.2.4"
serde = "1.0.192"
serde_json = "1.0.108"
serenity = { version = "0.11.7", features = ["framework", "cache", "standard_framework", "rustls_backend", "gateway"], default-features = false }
songbird = { version = "0.3.2", features = ["driver", "serenity-rustls"], default-features = false }
thiserror = "1.0.50"
tokio = { version = "1.34.0", features = ["rt", "full"] }
zerocopy = "0.7.25"
zerocopy = "0.7.26"

[profile.release]
opt-level = 3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder
FROM --platform=linux/amd64 rust:1.72.1-buster as builder
FROM --platform=linux/amd64 rust:1.74.0-buster as builder

WORKDIR /app

Expand Down
1 change: 1 addition & 0 deletions spoticord_audio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit b42292f

Please sign in to comment.