mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
refactor(core): move impl_as_any macros
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
40cd8405f2
commit
4154ceea05
29 changed files with 95 additions and 54 deletions
|
@ -24,7 +24,14 @@ panic_hook = ["dep:console_error_panic_hook"]
|
|||
[dependencies]
|
||||
|
||||
# Protocols
|
||||
ironrdp = { workspace = true, features = ["input", "graphics", "dvc", "cliprdr", "svc"] }
|
||||
ironrdp = { workspace = true, features = [
|
||||
"input",
|
||||
"graphics",
|
||||
"dvc",
|
||||
"cliprdr",
|
||||
"svc",
|
||||
] }
|
||||
ironrdp-core.workspace = true
|
||||
ironrdp-cliprdr-format = { workspace = true }
|
||||
ironrdp-futures.workspace = true
|
||||
ironrdp-rdcleanpath.workspace = true
|
||||
|
@ -34,8 +41,14 @@ wasm-bindgen = "0.2"
|
|||
wasm-bindgen-futures = "0.4"
|
||||
web-sys = { version = "0.3", features = ["HtmlCanvasElement"] }
|
||||
js-sys = "0.3"
|
||||
gloo-net = { version = "0.6", default-features = false, features = ["websocket", "http", "io-util"] }
|
||||
gloo-timers = { version = "0.3", default-features = false, features = ["futures"] }
|
||||
gloo-net = { version = "0.6", default-features = false, features = [
|
||||
"websocket",
|
||||
"http",
|
||||
"io-util",
|
||||
] }
|
||||
gloo-timers = { version = "0.3", default-features = false, features = [
|
||||
"futures",
|
||||
] }
|
||||
tracing-web = "0.1"
|
||||
|
||||
# Rendering
|
||||
|
|
|
@ -21,9 +21,9 @@ use ironrdp::cliprdr::pdu::{
|
|||
ClipboardFormat, ClipboardFormatId, ClipboardFormatName, ClipboardGeneralCapabilityFlags, FileContentsRequest,
|
||||
FileContentsResponse, FormatDataRequest, FormatDataResponse, LockDataId,
|
||||
};
|
||||
use ironrdp::svc::impl_as_any;
|
||||
use ironrdp_cliprdr_format::bitmap::{dib_to_png, dibv5_to_png, png_to_cf_dibv5};
|
||||
use ironrdp_cliprdr_format::html::{cf_html_to_plain_html, plain_html_to_cf_html};
|
||||
use ironrdp_core::impl_as_any;
|
||||
use transaction::{ClipboardContent, ClipboardContentValue};
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue