Skip to content

Commit

Permalink
Merge pull request #3 from ybbh/main
Browse files Browse the repository at this point in the history
scupt-net
ybbh authored Apr 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 57f648c + b4bb381 commit 24652ab
Showing 4 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/endpoint_inner.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use core::slice::SlicePattern;
use std::net::SocketAddr;

use bytes::BytesMut;
use futures::{SinkExt, StreamExt};
use futures::stream::{SplitSink, SplitStream};
@@ -11,6 +9,7 @@ use scupt_util::message::{
Message,
MsgTrait,
};
use scupt_util::slice::Slice;
use scupt_util::res::Res;
use scupt_util::res_of::res_io;
use tokio::net::TcpStream;
3 changes: 2 additions & 1 deletion src/framed_codec.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use core::slice::SlicePattern;

use std::io;

use bytes::{Buf, BufMut, BytesMut};
use scupt_util::slice::Slice;
use tokio_util::codec::{Decoder, Encoder};

use crate::framed_header::{FramedHdr, FramedHdrRef};
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(slice_pattern)]

pub mod io_service;
pub mod event_sink_async;
pub mod message_receiver_async;
2 changes: 0 additions & 2 deletions tests/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#![feature(async_closure)]

mod test_io_service;

0 comments on commit 24652ab

Please sign in to comment.