Skip to content

Conversation

@willcrichton
Copy link
Contributor

Reference solution for porting the server crate to use the async feature. Key pieces:

  • Add async keyword to each handler and the main function
  • Add #[tokio::main] annotation to the async main
  • Add tokio as a dependency of server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants