Hi,
I have this web server written using warp
which is built upon tokio
.
So the entry point is currently:
#[tokio::main]
async fn main() -> Result<()> { // using anyhow::Result
// ...
}
On windows, I need to turn that into a Windows Service, and I know very few on the subject.
I found 2 crates to manage this:
windows-service
hasn't release for a year so it's a no go for my company.
But either way, both crates show example with a "normal" main
function (without tokio::main
annotation).
How do I use ceviche
with a tokio
based app?