// Don't copy this `cfg`, it's only needed because this file is within // the warp repository. // Instead, specify the "tls" feature in your warp dependency declaration. #[cfg(feature = "tls")] #[tokio::main] asyncfn main() { use warp::Filter;
// Match any request and return hello world! let routes = warp::any().map(|| "Hello, World!");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.