-
Notifications
You must be signed in to change notification settings - Fork 623
Open
Labels
httpRelated to the `http` module.Related to the `http` module.trackingListing the progress on a particular development topic.Listing the progress on a particular development topic.
Description
Serenity's future sizes are quite large, leading to clippy::large_futures
warnings and suboptimal performance.
This is a list of known problems leading to these large futures.
- The
Http
interface is forced to keep builders in futures even after serializing them, due to the&impl serde::Serialize
signature. - Some functions take ownership of a type, then only use a couple fields even though it's carrying over an await point.
-
- This probably requires enabling
struct_lit_single_line
in rustfmt settings.
- This probably requires enabling
- More to be found
Metadata
Metadata
Assignees
Labels
httpRelated to the `http` module.Related to the `http` module.trackingListing the progress on a particular development topic.Listing the progress on a particular development topic.