Add support for permessage-deflate
WebSocket extension
#549
lint.yml
on: pull_request
fmt
27s
clippy
1m 35s
lint-docs
1m 0s
check-external-types
0s
public-api-diff
1m 52s
Annotations
5 errors and 2 warnings
fmt
Process completed with exit code 1.
|
lint-docs:
awc/src/ws.rs#L454
this function takes 2 arguments but 1 argument was supplied
|
lint-docs
Process completed with exit code 101.
|
clippy:
awc/src/ws.rs#L454
[clippy] reported by reviewdog 🐶
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> awc/src/ws.rs:454:21
|
454 | Codec::new_deflate(context)
| ^^^^^^^^^^^^^^^^^^--------- argument #2 of type `actix_http::ws::deflate::DeflateDecompressionContext` is missing
|
note: expected `DeflateCompressionContext`, found `(DeflateCompressionContext, ...)`
--> awc/src/ws.rs:454:40
|
454 | Codec::new_deflate(context)
| ^^^^^^^
= note: expected struct `actix_http::ws::deflate::DeflateCompressionContext`
found tuple `(actix_http::ws::deflate::DeflateCompressionContext, actix_http::ws::deflate::DeflateDecompressionContext)`
note: associated function defined here
--> /home/runner/work/actix-web/actix-web/actix-http/src/ws/codec.rs:534:12
|
534 | pub fn new_deflate(
| ^^^^^^^^^^^
help: provide the argument
|
454 | Codec::new_deflate(/* actix_http::ws::deflate::DeflateCompressionContext */, /* actix_http::ws::deflate::DeflateDecompressionContext */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Raw Output:
awc/src/ws.rs:454:39:e:error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> awc/src/ws.rs:454:21
|
454 | Codec::new_deflate(context)
| ^^^^^^^^^^^^^^^^^^--------- argument #2 of type `actix_http::ws::deflate::DeflateDecompressionContext` is missing
|
note: expected `DeflateCompressionContext`, found `(DeflateCompressionContext, ...)`
--> awc/src/ws.rs:454:40
|
454 | Codec::new_deflate(context)
| ^^^^^^^
= note: expected struct `actix_http::ws::deflate::DeflateCompressionContext`
found tuple `(actix_http::ws::deflate::DeflateCompressionContext, actix_http::ws::deflate::DeflateDecompressionContext)`
note: associated function defined here
--> /home/runner/work/actix-web/actix-web/actix-http/src/ws/codec.rs:534:12
|
534 | pub fn new_deflate(
| ^^^^^^^^^^^
help: provide the argument
|
454 | Codec::new_deflate(/* actix_http::ws::deflate::DeflateCompressionContext */, /* actix_http::ws::deflate::DeflateDecompressionContext */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__END__
|
public-api-diff
Process completed with exit code 1.
|
fmt:
actix-http/src/ws/deflate.rs#L577
Diff in /home/runner/work/actix-web/actix-web/actix-http/src/ws/deflate.rs
|
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|