-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
A-serverArea: server.Area: server.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.K-hyper-utilCrate: hyper-utilCrate: hyper-util
Description
Is your feature request related to a problem? Please describe.
Reduce boilerplate, like the actix-web and the std lib too. Currently it needs:
let addr = SocketAddr::from(("127.0.0.1", 8080));
Server::bind(&addr)
Describe the solution you'd like
pub fn bind<A: ToSocketAddrs>(addr: A) -> Builder<AddrIncoming> { /* ... */ }
// Will allow:
Server::bind(("127.0.0.1", 8080))
Metadata
Metadata
Assignees
Labels
A-serverArea: server.Area: server.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.K-hyper-utilCrate: hyper-utilCrate: hyper-util