~kennylevinsen/greetd

fba10c131608bc71157aebeeb9c520c1e93f58e9 — Kenny Levinsen 2 months ago b42e471
ipc: Fix tokio codec
1 files changed, 1 insertions(+), 1 deletions(-)

M greetd_ipc/src/codec/tokio.rs
M greetd_ipc/src/codec/tokio.rs => greetd_ipc/src/codec/tokio.rs +1 -1
@@ 8,7 8,7 @@
//! use greetd_ipc::{Request, Response};
//! use greetd_ipc::codec::TokioCodec;
//!
//! #[tokio::main]
//! #[tokio::main(flavor = "current_thread")]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//!     let mut stream = UnixStream::connect(env::var("GREETD_SOCK")?).await?;
//!     Request::CreateSession { username: "john".to_string() }.write_to(&mut stream).await?;