actix / actix/actix-web

consider unifying `web::Payload` and `dev::Payload`

Aperta
#2,600 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
A-web RFC / Proposal
Lingua principale
Rust
Stelle
24.8k
Fork
1.9k
Merge medio
23h 10m
PR unite (30g)
26

Descrizione

Having them as separate type with the same name can be confusing and I don't really see the reason why `web::Payload` is a newtype of `dev::Payload`. Making `web::Payload` a reexport of `dev::Payload` can mitigate this with least migration pain.

## Your Environment

- Rust Version (I.e, output of `rustc -V`):
- Actix Web Version: v4.0-beta.21

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.