cursor-mover-app/crates/cursor-mover-webapp/Cargo.toml

49 lines
2.2 KiB
TOML

[package]
name = "cursor-mover-webapp"
version = "0.1.0"
authors = ["Mona Mayrhofer <mona.mayrhofer@proton.me>"]
edition = "2024"
repository = "https://github.com/mona-mayrhofer/cursor-mover-app"
categories = ["tools"]
keywords = ["tools", "cursor", "remote"]
license = "EUPL-1.2"
description = "A web application for controlling your cursor and keyboard via a smartphone browser."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { version = "0.7.3", features = ["router", "fullstack", "logger"] }
dioxus-html = { version = "0.7.3", features = ["serialize"] }
serde = { version = "1.0.228", features = ["derive"] }
wasmtimer = "0.4.3"
wayland-client = { version = "0.31.12", optional = true }
wayland-protocols-wlr = { version = "0.3.10", features = ["client"], optional = true }
tokio = {version = "1.49.0", optional = true}
rustix = { version = "1.1.4", optional = true, features = ["time"], default-features = false }
wayland-protocols-misc = { version = "0.3.10", features = ["client"], optional = true }
wayland-protocols = { version = "0.32.10", features = ["client", "staging"], optional = true }
memfile = {version = "0.3.2", optional = true}
[features]
default = ["web"]
# The feature that are only required for the web = ["dioxus/web"] build target should be optional and only enabled in the web = ["dioxus/web"] feature
web = ["dioxus/web"]
# The feature that are only required for the desktop = ["dioxus/desktop"] build target should be optional and only enabled in the desktop = ["dioxus/desktop"] feature
#desktop = ["dioxus/desktop"]
# The feature that are only required for the mobile = ["dioxus/mobile"] build target should be optional and only enabled in the mobile = ["dioxus/mobile"] feature
#mobile = ["dioxus/mobile"]
# The feature that are only required for the server = ["dioxus/server"] build target should be optional and only enabled in the server = ["dioxus/server"] feature
server = ["dioxus/server",
"dep:wayland-client",
"dep:wayland-protocols-wlr",
"dep:wayland-protocols-misc",
"dep:wayland-protocols",
"dep:tokio",
"dep:rustix",
"dep:memfile"
]
[lints]
workspace = true