server: make the Accept trait public
Author: jmlemetayerCreated Oct 24, 2025Updated Oct 27, 2025
Labelsfeature
Is your feature request related to a problem? Please describe.
Some external crates used the Server::run_incoming method to modify the behavior of the warp server (example: tokio-rustls-acme).
Now that this method has been replaced by Server::incoming and is no longer a Stream based argument but an acceptor, the server::accept::Accept trait must be public.
Describe the solution you'd like
Make the server::accept::Accept trait public.
Describe alternatives you've considered N.A.
Additional context See: https://github.com/n0-computer/tokio-rustls-acme/issues/35
Source: seanmonstar/warp