mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 20:55:03 +01:00
setup project
This commit is contained in:
parent
556e1252f2
commit
b2e6e96698
6 changed files with 424 additions and 2 deletions
10
amqp_transport/src/lib.rs
Normal file
10
amqp_transport/src/lib.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use anyhow::{Context, Result};
|
||||
use tokio::io::AsyncWriteExt;
|
||||
|
||||
pub async fn do_thing_i_guess() -> Result<()> {
|
||||
tokio::io::stdout()
|
||||
.write(b"hello async world lol\n")
|
||||
.await
|
||||
.context("failed to write")
|
||||
.map(drop)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue