Skip to content

Commit

Permalink
Reenable zstd compression
Browse files Browse the repository at this point in the history
  • Loading branch information
tazz4843 committed Nov 26, 2024
1 parent 7e39f40 commit 87fa5a2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripty_audio_handler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ serenity = { git = "https://github.com/serenity-rs/serenity", branch = "next", f
"collector",
"utils",
"typesize",
"transport_compression_zstd"
] }
sqlx = { version = "0.7", features = ["postgres", "macros", "migrate", "runtime-tokio-rustls"] }
2 changes: 1 addition & 1 deletion scripty_bot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub async fn entrypoint() {

let mut client =
ClientBuilder::new_with_http(token, Arc::new(http), framework_opts::get_gateway_intents())
.compression(TransportCompression::None)
.compression(TransportCompression::Zstd)
.data(data.clone())
.framework(framework)
.voice_manager::<scripty_audio_handler::Songbird>(songbird)
Expand Down
1 change: 1 addition & 0 deletions scripty_bot_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ serenity = { git = "https://github.com/serenity-rs/serenity", branch = "next", f
"collector",
"utils",
"typesize",
"transport_compression_zstd"
] }
sqlx = { version = "0.7", features = ["postgres", "macros", "migrate", "runtime-tokio-rustls", "time"] }
poise = { git = "https://github.com/serenity-rs/poise", branch = "serenity-next", features = ["cache", "collector"] }
1 change: 1 addition & 0 deletions scripty_commands/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ serenity = { git = "https://github.com/serenity-rs/serenity", branch = "next", f
"collector",
"utils",
"typesize",
"transport_compression_zstd"
] }
sqlx = { version = "0.7", features = ["postgres", "macros", "migrate", "runtime-tokio-rustls", "time"] }
poise = { git = "https://github.com/serenity-rs/poise", branch = "serenity-next", features = ["cache", "collector"] }
Expand Down
1 change: 1 addition & 0 deletions scripty_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ serenity = { git = "https://github.com/serenity-rs/serenity", branch = "next", f
"collector",
"utils",
"typesize",
"transport_compression_zstd"
] }
sqlx = { version = "0.7", features = ["postgres", "macros", "migrate", "runtime-tokio-rustls", "time"] }

0 comments on commit 87fa5a2

Please sign in to comment.