fix(deps): update rust crate tower to v0.5.3#127
Open
elmarx wants to merge 1 commit into
Open
Annotations
2 warnings
|
src/http/model.rs#L12
warning: large size difference between variants
--> src/http/model.rs:12:1
|
12 | / pub enum RequestMode {
13 | | Proxy,
| | ----- the second-largest variant carries no data at all
14 | |/ Experiment {
15 | || /// if given in config: custom key
16 | || key: Option<String>,
17 | || /// path of the route
... ||
23 | || rx: Receiver<ChannelValue>,
24 | || },
| ||_____- the largest variant contains at least 360 bytes
25 | | }
| |__^ the entire enum is at least 360 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum
|
21 - request: http::Request<Bytes>,
21 + request: Box<http::Request<Bytes>>,
|
|
|
src/http/model.rs#L12
warning: large size difference between variants
--> src/http/model.rs:12:1
|
12 | / pub enum RequestMode {
13 | | Proxy,
| | ----- the second-largest variant carries no data at all
14 | |/ Experiment {
15 | || /// if given in config: custom key
16 | || key: Option<String>,
17 | || /// path of the route
... ||
23 | || rx: Receiver<ChannelValue>,
24 | || },
| ||_____- the largest variant contains at least 360 bytes
25 | | }
| |__^ the entire enum is at least 360 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum
|
21 - request: http::Request<Bytes>,
21 + request: Box<http::Request<Bytes>>,
|
|
The logs for this run have expired and are no longer available.
Loading