Skip to content

Cargo.toml: release 0.8.1

d6d8288
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Release 0.8.1 #114

Cargo.toml: release 0.8.1
d6d8288
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Nov 11, 2025 in 0s

clippy

15 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 15
Warning 0
Note 0
Help 0

Versions

  • rustc 1.91.1 (ed61e7d7e 2025-11-07)
  • cargo 1.91.1 (ea2d97820 2025-10-10)
  • clippy 0.1.91 (ed61e7d7e2 2025-11-07)

Annotations

Check failure on line 40 in src/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

match expression looks like `matches!` macro

error: match expression looks like `matches!` macro
  --> src/response.rs:37:9
   |
37 | /         match self {
38 | |             Self::Error(_) => true,
39 | |             _ => false,
40 | |         }
   | |_________^ help: try: `matches!(self, Self::Error(_))`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#match_like_matches_macro

Check failure on line 29 in src/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

match expression looks like `matches!` macro

error: match expression looks like `matches!` macro
  --> src/response.rs:26:9
   |
26 | /         match self {
27 | |             Self::Status(_) => true,
28 | |             _ => false,
29 | |         }
   | |_________^ help: try: `matches!(self, Self::Status(_))`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#match_like_matches_macro
   = note: `#[deny(clippy::match_like_matches_macro)]` implied by `#[deny(clippy::all)]`

Check failure on line 276 in src/response/usage_report.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

usage of a legacy numeric constant

error: usage of a legacy numeric constant
   --> src/response/usage_report.rs:276:18
    |
276 |         ur.reset(std::u64::MAX);
    |                  ^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#legacy_numeric_constants
    = note: `#[deny(clippy::legacy_numeric_constants)]` implied by `#[deny(clippy::all)]`
help: use the associated constant instead
    |
276 -         ur.reset(std::u64::MAX);
276 +         ur.reset(u64::MAX);
    |

Check failure on line 41 in src/http/mapping_rule/escaping.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

error: redundant closure
  --> src/http/mapping_rule/escaping.rs:41:22
   |
41 |                 .map(|part| regex::escape(part))
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `regex::escape`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#redundant_closure
   = note: `#[deny(clippy::redundant_closure)]` implied by `#[deny(clippy::all)]`

Check failure on line 40 in src/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

match expression looks like `matches!` macro

error: match expression looks like `matches!` macro
  --> src/response.rs:37:9
   |
37 | /         match self {
38 | |             Self::Error(_) => true,
39 | |             _ => false,
40 | |         }
   | |_________^ help: try: `matches!(self, Self::Error(_))`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#match_like_matches_macro

Check failure on line 29 in src/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

match expression looks like `matches!` macro

error: match expression looks like `matches!` macro
  --> src/response.rs:26:9
   |
26 | /         match self {
27 | |             Self::Status(_) => true,
28 | |             _ => false,
29 | |         }
   | |_________^ help: try: `matches!(self, Self::Status(_))`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#match_like_matches_macro
   = note: `#[deny(clippy::match_like_matches_macro)]` implied by `#[deny(clippy::all)]`

Check failure on line 58 in src/http/request/curl/easy2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
  --> src/http/request/curl/easy2.rs:58:49
   |
58 |             Ok(Self::copy_data(&mut self.count, &body.as_bytes(), data))
   |                                                 ^^^^^^^^^^^^^^^^ help: change this to: `body.as_bytes()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_borrow

Check failure on line 103 in src/http/request/curl/easy.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/http/request/curl/easy.rs:103:57
    |
103 |                         Ok(super::copy_data(&mut count, &body.as_bytes(), buf))
    |                                                         ^^^^^^^^^^^^^^^^ help: change this to: `body.as_bytes()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_borrow
    = note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(clippy::all)]`

Check failure on line 114 in src/extensions/list.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

direct implementation of `ToString`

error: direct implementation of `ToString`
   --> src/extensions/list.rs:106:1
    |
106 | / impl ToString for List<'_> {
107 | |     fn to_string(&self) -> String {
108 | |         self.0
109 | |             .iter()
...   |
114 | | }
    | |_^
    |
    = help: prefer implementing `Display` instead
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#to_string_trait_impl

Check failure on line 41 in src/http/mapping_rule/escaping.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

error: redundant closure
  --> src/http/mapping_rule/escaping.rs:41:22
   |
41 |                 .map(|part| regex::escape(part))
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `regex::escape`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#redundant_closure
   = note: `#[deny(clippy::redundant_closure)]` implied by `#[deny(clippy::all)]`

Check failure on line 63 in src/extensions/extension.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

direct implementation of `ToString`

error: direct implementation of `ToString`
  --> src/extensions/extension.rs:59:1
   |
59 | / impl ToString for Extension<'_> {
60 | |     fn to_string(&self) -> String {
61 | |         self.to_cow().into()
62 | |     }
63 | | }
   | |_^
   |
   = help: prefer implementing `Display` instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#to_string_trait_impl
note: the lint level is defined here
  --> src/lib.rs:1:9
   |
 1 | #![deny(clippy::all, clippy::cargo)]
   |         ^^^^^^^^^^^
   = note: `#[deny(clippy::to_string_trait_impl)]` implied by `#[deny(clippy::all)]`

Check failure on line 58 in src/http/request/curl/easy2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
  --> src/http/request/curl/easy2.rs:58:49
   |
58 |             Ok(Self::copy_data(&mut self.count, &body.as_bytes(), data))
   |                                                 ^^^^^^^^^^^^^^^^ help: change this to: `body.as_bytes()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_borrow

Check failure on line 103 in src/http/request/curl/easy.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/http/request/curl/easy.rs:103:57
    |
103 |                         Ok(super::copy_data(&mut count, &body.as_bytes(), buf))
    |                                                         ^^^^^^^^^^^^^^^^ help: change this to: `body.as_bytes()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_borrow
    = note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(clippy::all)]`

Check failure on line 114 in src/extensions/list.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

direct implementation of `ToString`

error: direct implementation of `ToString`
   --> src/extensions/list.rs:106:1
    |
106 | / impl ToString for List<'_> {
107 | |     fn to_string(&self) -> String {
108 | |         self.0
109 | |             .iter()
...   |
114 | | }
    | |_^
    |
    = help: prefer implementing `Display` instead
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#to_string_trait_impl

Check failure on line 63 in src/extensions/extension.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

direct implementation of `ToString`

error: direct implementation of `ToString`
  --> src/extensions/extension.rs:59:1
   |
59 | / impl ToString for Extension<'_> {
60 | |     fn to_string(&self) -> String {
61 | |         self.to_cow().into()
62 | |     }
63 | | }
   | |_^
   |
   = help: prefer implementing `Display` instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#to_string_trait_impl
note: the lint level is defined here
  --> src/lib.rs:1:9
   |
 1 | #![deny(clippy::all, clippy::cargo)]
   |         ^^^^^^^^^^^
   = note: `#[deny(clippy::to_string_trait_impl)]` implied by `#[deny(clippy::all)]`