async `HttpServer::new` as alternative to `data_factory`
Ouverte
A-web
C-improvement
- Langage dominant
- Rust
- Étoiles
- 24.8k
- Forks
- 1.9k
- Merge moyen
- 23 h 10 min
- PR mergées (30 j)
- 26
Description
Part of the apeal of `App::data_factory` is that it uses the local reactor when instantiating app data. It's equivalent and more natural to make `HttpServer::new` async.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by comparing the existing App::data_factory behavior with HttpServer::new, focusing on how each uses the local reactor when instantiating app data. Define the async API's intended behavior and compatibility before changing anything; done means HttpServer::new provides the proposed async alternative without losing the data_factory behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust
- Domaine
- backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 25/100