Commit 1656dfd
committed
Fix
Add `webpki` and `rustls-platform-verifier` dependencies to `Cargo.toml` and implement custom error wrapper for `webpki::Error`.
* **Cargo.toml**
- Add `webpki = "0.22"` under `[dependencies]`
- Add `rustls-platform-verifier = "0.4"` under `[dependencies]`
* **src/main.rs**
- Implement `std::error::Error` trait for `webpki::Error` by creating a custom error wrapper `WebPkiError`
- Update code to use `WebPkiError` instead of `webpki::Error`
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/openSVM/osvm-cli?shareId=XXXX-XXXX-XXXX-XXXX).webpki::Error trait bound issue in CI workflow1 parent b4a0f57 commit 1656dfd
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
28 | 39 | | |
29 | 40 | | |
30 | 41 | | |
| |||
0 commit comments