feat(http): support websocket server #840
dependency-review.yaml
on: pull_request
dependency-review
18s
Annotations
3 warnings
dependency-review
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/dependency-review-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference:
volo-http/src/error/server.rs#L125
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference
--> volo-http/src/error/server.rs:125:23
|
125 | fn to_status_code(self) -> StatusCode {
| ^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
= note: `#[warn(clippy::wrong_self_convention)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
benchmark/src/perf/mem.rs#L62
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> benchmark/src/perf/mem.rs:62:41
|
62 | mem_usage_list.push(mem_usage as u64);
| ^^^^^^^^^^^^^^^^ help: try: `mem_usage`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|