[package] name = "ironrdp-web" version = "0.0.0" readme = "README.md" description = "WebAssembly high-level bindings targeting web browsers" publish = false edition.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true authors.workspace = true keywords.workspace = true categories.workspace = true [lib] doctest = false test = false crate-type = ["cdylib", "rlib"] [features] default = ["panic_hook"] panic_hook = ["iron-remote-desktop/panic_hook"] [dependencies] # Protocols ironrdp = { path = "../ironrdp", features = [ "connector", "session", "input", "graphics", "dvc", "cliprdr", "svc", "displaycontrol" ] } ironrdp-core.path = "../ironrdp-core" ironrdp-cliprdr-format.path = "../ironrdp-cliprdr-format" ironrdp-futures.path = "../ironrdp-futures" ironrdp-rdcleanpath.path = "../ironrdp-rdcleanpath" ironrdp-propertyset.path = "../ironrdp-propertyset" ironrdp-rdpfile.path = "../ironrdp-rdpfile" iron-remote-desktop.path = "../iron-remote-desktop" # WASM 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"] } # Rendering softbuffer = { version = "0.4", default-features = false } png = "0.17" resize = { version = "0.8", features = ["std"], default-features = false } rgb = "0.8" # Enable WebAssembly support for a few crates getrandom2 = { package = "getrandom", version = "0.2", features = ["js"] } getrandom = { version = "0.3", features = ["wasm_js"] } chrono = { version = "0.4", features = ["wasmbind"] } time = { version = "0.3", features = ["wasm-bindgen"] } # Async futures-util = { version = "0.3", features = ["sink", "io"] } futures-channel = "0.3" # Logging tracing = { version = "0.1", features = ["log"] } # Utils anyhow = "1" smallvec = "1.15" x509-cert = { version = "0.2", default-features = false, features = ["std"] } tap = "1" semver = "1" url = "2.5" base64 = "0.22" [lints] workspace = true