mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
refactor(core): move WriteBuf
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
76b0518afa
commit
278a0506c2
34 changed files with 69 additions and 31 deletions
|
@ -18,6 +18,7 @@ test = false
|
|||
[dependencies]
|
||||
bytes = "1"
|
||||
ironrdp-connector.workspace = true
|
||||
ironrdp-core = { workspace = true, features = ["alloc"] }
|
||||
ironrdp-pdu.workspace = true
|
||||
# ironrdp-session.workspace = true
|
||||
tracing.workspace = true
|
||||
|
|
|
@ -5,7 +5,7 @@ use ironrdp_connector::{
|
|||
custom_err, general_err, ClientConnector, ClientConnectorState, ConnectionResult, ConnectorError, ConnectorResult,
|
||||
ServerName, State as _,
|
||||
};
|
||||
use ironrdp_pdu::write_buf::WriteBuf;
|
||||
use ironrdp_core::WriteBuf;
|
||||
|
||||
use crate::framed::{Framed, FramedRead, FramedWrite};
|
||||
use crate::{single_sequence_step, AsyncNetworkClient};
|
||||
|
|
|
@ -2,7 +2,8 @@ use std::io;
|
|||
|
||||
use bytes::{Bytes, BytesMut};
|
||||
use ironrdp_connector::{ConnectorResult, Sequence, Written};
|
||||
use ironrdp_pdu::{write_buf::WriteBuf, PduHint};
|
||||
use ironrdp_core::WriteBuf;
|
||||
use ironrdp_pdu::PduHint;
|
||||
|
||||
// TODO: investigate if we could use static async fn / return position impl trait in traits when stabilized:
|
||||
// https://github.com/rust-lang/rust/issues/91611
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue