Switch to tokio channel

This commit is contained in:
Louis Dureuil 2024-01-23 16:52:48 +01:00
parent b141c82a04
commit 8febbf64ce
No known key found for this signature in database
4 changed files with 17 additions and 6 deletions

View file

@ -11,7 +11,7 @@ pub use error::Error;
pub struct Trace<W: Write> {
writer: W,
receiver: std::sync::mpsc::Receiver<Entry>,
receiver: tokio::sync::mpsc::UnboundedReceiver<Entry>,
}
pub struct TraceReader<R: Read> {