feat(hyper-error-handling): adds handling for hyper HTTP errors #131
Annotations
1 error and 2 warnings
use of a fallible conversion when an infallible one could be used:
hitbox-http/src/extractors/path.rs#L23
error: use of a fallible conversion when an infallible one could be used
--> hitbox-http/src/extractors/path.rs:23:23
|
23 | resource: ResourceDef::try_from(resource).unwrap(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: converting `&str` to `ResourceDef` cannot fail
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]`
help: use
|
23 - resource: ResourceDef::try_from(resource).unwrap(),
23 + resource: ResourceDef::from(resource),
|
|
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
security_audit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|