Skip to content

Commit

Permalink
deps: いつもwebpkiを使うように変更 (#42)
Browse files Browse the repository at this point in the history
fix #32
  • Loading branch information
Mogyuchi authored Jan 14, 2024
1 parent 8cc5830 commit 8dc4aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
with:
tool: cross
- run: mkdir dist
- run: ${{ (!matrix.os && matrix.use-cross) && 'cross' || 'cargo' }} rustc --locked --release --features=webpki --no-default-features --target=${{ matrix.target }} -- --emit=link=dist/binary
- run: ${{ (!matrix.os && matrix.use-cross) && 'cross' || 'cargo' }} rustc --locked --release --no-default-features --target=${{ matrix.target }} -- --emit=link=dist/binary
- uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4.1.0
with:
name: ${{ matrix.target }}
Expand Down
8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ futures = "=0.3.30"
tokio = { version = "=1.35.1", features = ["full"] }
tracing = "=0.1.40"
twilight-cache-inmemory = "=0.15.4"
twilight-gateway = "=0.15.4"
twilight-http = "=0.15.4"
twilight-gateway = { version = "=0.15.4", features = ["rustls-webpki-roots"] }
twilight-http = { version = "=0.15.4", features = ["rustls-webpki-roots"] }
twilight-mention = "=0.15.3"
twilight-model = "=0.15.4"
twilight-standby = "=0.15.4"
Expand All @@ -25,7 +25,3 @@ path = "main.rs"
[features]
default = ["dotenv"]
dotenv = ["dep:dotenvy"]
webpki = [
"twilight-gateway/rustls-webpki-roots",
"twilight-http/rustls-webpki-roots",
]

0 comments on commit 8dc4aaa

Please sign in to comment.