chore(deps): bump hyper from 1.2.0 to 1.3.0 #1063
Annotations
9 warnings
Clippy Check:
crates/shadowsocks/src/relay/tcprelay/aead.rs#L40
warning: importing legacy numeric constants
--> crates/shadowsocks/src/relay/tcprelay/aead.rs:40:5
|
40 | u16,
| ^^^
|
= help: remove this import
= note: then `u16::<CONST>` will resolve to the respective associated constant
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `#[warn(clippy::legacy_numeric_constants)]` on by default
|
Clippy Check:
crates/shadowsocks/src/relay/tcprelay/aead_2022.rs#L54
warning: importing legacy numeric constants
--> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:54:5
|
54 | u16,
| ^^^
|
= help: remove this import
= note: then `u16::<CONST>` will resolve to the respective associated constant
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
|
Clippy Check:
crates/shadowsocks-service/src/config.rs#L1521
warning: assigning the result of `Clone::clone()` may be inefficient
--> crates/shadowsocks-service/src/config.rs:1521:25
|
1521 | local_config.launchd_tcp_socket_name = config.launchd_tcp_socket_name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `local_config.launchd_tcp_socket_name.clone_from(&config.launchd_tcp_socket_name)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `#[warn(clippy::assigning_clones)]` on by default
|
Clippy Check:
crates/shadowsocks-service/src/config.rs#L1522
warning: assigning the result of `Clone::clone()` may be inefficient
--> crates/shadowsocks-service/src/config.rs:1522:25
|
1522 | local_config.launchd_udp_socket_name = config.launchd_udp_socket_name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `local_config.launchd_udp_socket_name.clone_from(&config.launchd_udp_socket_name)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
Clippy Check:
crates/shadowsocks-service/src/config.rs#L2570
warning: assigning the result of `Clone::clone()` may be inefficient
--> crates/shadowsocks-service/src/config.rs:2570:21
|
2570 | jconf.launchd_tcp_socket_name = local.launchd_tcp_socket_name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `jconf.launchd_tcp_socket_name.clone_from(&local.launchd_tcp_socket_name)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
Clippy Check:
crates/shadowsocks-service/src/config.rs#L2571
warning: assigning the result of `Clone::clone()` may be inefficient
--> crates/shadowsocks-service/src/config.rs:2571:21
|
2571 | jconf.launchd_udp_socket_name = local.launchd_udp_socket_name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `jconf.launchd_udp_socket_name.clone_from(&local.launchd_udp_socket_name)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
Clippy Check:
crates/shadowsocks-service/src/config.rs#L2936
warning: assigning the result of `Clone::clone()` may be inefficient
--> crates/shadowsocks-service/src/config.rs:2936:9
|
2936 | jconf.outbound_bind_interface = self.outbound_bind_interface.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `jconf.outbound_bind_interface.clone_from(&self.outbound_bind_interface)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
Clippy Check:
crates/shadowsocks-service/src/server/udprelay.rs#L651
warning: assigning the result of `Clone::clone()` may be inefficient
--> crates/shadowsocks-service/src/server/udprelay.rs:651:13
|
651 | session_context.client_user = control.user.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `session_context.client_user.clone_from(&control.user)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
Clippy Check:
crates/shadowsocks-service/src/server/udprelay.rs#L825
warning: assigning the result of `Clone::clone()` may be inefficient
--> crates/shadowsocks-service/src/server/udprelay.rs:825:17
|
825 | control.user = client_session.client_user.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `control.user.clone_from(&client_session.client_user)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
Loading