Skip to content

Commit a913edc

Browse files
Update to twilight 0.17
1 parent 135eda0 commit a913edc

File tree

15 files changed

+312
-362
lines changed

15 files changed

+312
-362
lines changed

Cargo.lock

Lines changed: 227 additions & 300 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

xpd-cleanup/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ xpd-common = { workspace = true }
1616
# db interaction
1717
sqlx = { version = "0.8", features = ["postgres", "macros", "runtime-tokio", "tls-rustls"] }
1818
xpd-database = { workspace = true }
19-
twilight-model = "0.16"
19+
twilight-model = "0.17"

xpd-common/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ build = "build.rs"
1212

1313
[dependencies]
1414
# twilight
15-
twilight-gateway = { version = "0.16", default-features = false }
16-
twilight-cache-inmemory = "0.16"
17-
twilight-model = "0.16"
15+
twilight-gateway = { version = "0.17", default-features = false }
16+
twilight-cache-inmemory = "0.17"
17+
twilight-model = "0.17"
1818

1919
# serialize / deserialize
2020
serde = { version = "1", features = ["derive"] }

xpd-database/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2024"
66
[dependencies]
77
# misc
88
sqlx = { version = "0.8", features = ["postgres", "tls-rustls", "runtime-tokio"] }
9-
twilight-model = "0.16"
9+
twilight-model = "0.17"
1010
tokio-stream = "0.1"
1111
tracing = "0.1"
1212
futures-core = "0.3"

xpd-gateway/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ build = "build.rs"
1212

1313
[dependencies]
1414
# twilight
15-
twilight-gateway = { version = "0.16", features = ["rustls-native-roots", "rustls-aws_lc_rs", "twilight-http", "zlib-stock"], default-features = false }
16-
twilight-http = { version = "0.16", features = ["hickory", "rustls-native-roots", "rustls-aws_lc_rs"] }
17-
twilight-cache-inmemory = "0.16"
18-
twilight-validate = "0.16"
19-
twilight-model = "0.16"
15+
twilight-gateway = { version = "0.17", features = ["rustls-native-roots", "twilight-http"], default-features = false }
16+
twilight-http = { version = "0.17", features = ["hickory", "rustls-native-roots"] }
17+
twilight-cache-inmemory = "0.17"
18+
twilight-validate = "0.17"
19+
twilight-model = "0.17"
20+
rustls = "0.23"
2021

2122
# datafetchers
2223
reqwest = { version = "0.12", features = ["json", "rustls-tls-native-roots", "hickory-dns"], default-features = false }

xpd-gateway/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ async fn main() -> Result<(), SetupError> {
3535
tracing_subscriber::FmtSubscriber::builder()
3636
.with_env_filter(EnvFilter::from_default_env())
3737
.init();
38+
39+
rustls::crypto::aws_lc_rs::default_provider()
40+
.install_default()
41+
.unwrap();
42+
3843
info!(
3944
version = xpd_common::CURRENT_GIT_SHA,
4045
"Starting experienced!"

xpd-listener/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ categories = ["games"]
1010
keywords = ["discord-bot", "mee6"]
1111

1212
[dependencies]
13-
twilight-http = { version = "0.16", features = ["hickory", "rustls-native-roots", "rustls-aws_lc_rs"] }
14-
twilight-cache-inmemory = { version = "0.16", features = ["permission-calculator"] }
15-
twilight-gateway = { version = "0.16", default-features = false }
16-
twilight-model = "0.16"
13+
twilight-http = { version = "0.17", features = ["hickory", "rustls-native-roots"] }
14+
twilight-cache-inmemory = { version = "0.17", features = ["permission-calculator"] }
15+
twilight-gateway = { version = "0.17", default-features = false }
16+
twilight-model = "0.17"
1717

1818
# tokio
1919
tokio-util = { version = "0.7", features = ["rt"] }

xpd-setcommands/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ xpd-slash-defs = { workspace = true }
1010
xpd-common = { workspace = true }
1111
tracing-subscriber = "0.3"
1212

13-
twilight-http = { version = "0.16", features = ["hickory", "rustls-native-roots", "rustls-aws_lc_rs"] }
14-
twilight-model = "0.16"
13+
14+
twilight-http = { version = "0.17", features = ["hickory", "rustls-native-roots"] }
15+
twilight-model = "0.17"
16+
rustls = "0.23"
1517

1618
valk-utils = "0.1"

xpd-slash-defs/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ version = "0.1.0"
44
edition = "2024"
55

66
[dependencies]
7-
twilight-interactions = "0.16"
8-
twilight-validate = "0.16"
9-
twilight-model = "0.16"
7+
twilight-interactions = "0.17"
8+
twilight-validate = "0.17"
9+
twilight-model = "0.17"
1010

1111
xpd-rank-card = { workspace = true }
1212
xpd-common = { workspace = true }

xpd-slash/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ keywords = ["discord-bot", "mee6"]
1212

1313
[dependencies]
1414
# twilight
15-
twilight-http = { version = "0.16", features = ["hickory", "rustls-native-roots", "rustls-aws_lc_rs"], default-features = false }
16-
twilight-cache-inmemory = { version = "0.16", features = ["permission-calculator"] }
17-
twilight-gateway = { version = "0.16", default-features = false }
18-
twilight-util = { version = "0.16", features = ["builder"] }
19-
twilight-interactions = "0.16"
20-
twilight-model = "0.16"
15+
twilight-http = { version = "0.17", features = ["hickory", "rustls-native-roots"], default-features = false }
16+
twilight-cache-inmemory = { version = "0.17", features = ["permission-calculator"] }
17+
twilight-gateway = { version = "0.17", default-features = false }
18+
twilight-util = { version = "0.17", features = ["builder"] }
19+
twilight-interactions = "0.17"
20+
twilight-model = "0.17"
2121

2222
# tokio
2323
tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal"] }

0 commit comments

Comments
 (0)