Skip to content

Commit

Permalink
deps: 証明書がないエラーの修正 (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: Mogyuchi <[email protected]>
  • Loading branch information
hulk510 and Mogyuchi authored Dec 25, 2023
1 parent 71eca20 commit a6e4be3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 17 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 --no-default-features --target=${{ matrix.target }} -- --emit=link=dist/binary
- run: ${{ (!matrix.os && matrix.use-cross) && 'cross' || 'cargo' }} rustc --locked --release --features=webpki --no-default-features --target=${{ matrix.target }} -- --emit=link=dist/binary
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: ${{ matrix.target }}
Expand Down
44 changes: 28 additions & 16 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ path = "main.rs"
[features]
default = ["dotenv"]
dotenv = ["dep:dotenvy"]
webpki = [
"twilight-gateway/rustls-webpki-roots",
"twilight-http/rustls-webpki-roots",
]

0 comments on commit a6e4be3

Please sign in to comment.