[package]
edition = "2021"
name = "wakezilla"
version = "0.2.7"
build = "build.rs"
include = [
"src/**",
"tests/**",
"frontend/Cargo.toml",
"frontend/Cargo.lock",
"frontend/Trunk.toml",
"frontend/index.html",
"frontend/favicon.ico",
"frontend/src/**",
"frontend/style/**",
"frontend/public/**",
"frontend-dist/**",
"build.rs",
"common/Cargo.toml",
"common/src/**",
"Cargo.toml",
"Cargo.lock",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Wake-on-LAN proxy server written in Rust"
homepage = "https://github.com/guibeira/wakezilla"
readme = "README.md"
keywords = [
"wol",
"proxy",
"rust",
]
categories = [
"command-line-utilities",
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://github.com/guibeira/wakezilla"
[features]
default = []
desktop-tray = [
"dep:arboard",
"dep:base64",
"dep:open",
"dep:png",
"dep:tray-icon",
"dep:winit",
]
[lib]
name = "wakezilla"
path = "src/lib.rs"
[[bin]]
name = "wakezilla"
path = "src/main.rs"
[[test]]
name = "api_conversion_tests"
path = "tests/api_conversion_tests.rs"
[[test]]
name = "config_tests"
path = "tests/config_tests.rs"
[[test]]
name = "forward_tests"
path = "tests/forward_tests.rs"
[[test]]
name = "proxy_integration"
path = "tests/proxy_integration.rs"
[[test]]
name = "scanner_tests"
path = "tests/scanner_tests.rs"
[[test]]
name = "setup_tests"
path = "tests/setup_tests.rs"
[[test]]
name = "web_api_integration"
path = "tests/web_api_integration.rs"
[[test]]
name = "web_persistence"
path = "tests/web_persistence.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.askama]
version = "0.12"
[dependencies.askama_axum]
version = "0.4"
[dependencies.axum]
version = "0.7"
features = ["macros"]
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.config]
version = "0.14"
features = [
"toml",
"yaml",
"json",
]
[dependencies.crossterm]
version = "0.28"
[dependencies.dns-lookup]
version = "2.0.4"
[dependencies.flate2]
version = "1.0"
[dependencies.futures-util]
version = "0.3"
[dependencies.include_dir]
version = "0.7.4"
[dependencies.ipnetwork]
version = "0.20.0"
[dependencies.mime_guess]
version = "2.0"
[dependencies.once_cell]
version = "1.19.0"
[dependencies.ratatui]
version = "0.29"
[dependencies.regex]
version = "1.11.2"
[dependencies.reqwest]
version = "0.12.23"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.semver]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.tar]
version = "0.4"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1.38.0"
features = [
"rt-multi-thread",
"macros",
"sync",
"net",
"time",
"io-util",
"signal",
]
[dependencies.toml]
version = "0.8"
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6.6"
features = [
"cors",
"fs",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-futures]
version = "0.2"
features = ["tokio"]
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.validator]
version = "0.20.0"
features = ["derive"]
[dependencies.wakezilla-common]
version = "0.1.0"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[build-dependencies.which]
version = "4"
[target.'cfg(any(target_os = "macos", target_os = "windows", all(target_os = "linux", not(target_env = "musl"))))'.dependencies.arboard]
version = "3.6.1"
features = ["wayland-data-control"]
optional = true
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "windows", all(target_os = "linux", not(target_env = "musl"))))'.dependencies.open]
version = "5.3.6"
optional = true
[target.'cfg(any(target_os = "macos", target_os = "windows", all(target_os = "linux", not(target_env = "musl"))))'.dependencies.png]
version = "0.18"
optional = true
[target.'cfg(any(target_os = "macos", target_os = "windows", all(target_os = "linux", not(target_env = "musl"))))'.dependencies.tray-icon]
version = "0.24.1"
features = ["gtk"]
optional = true
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "windows", all(target_os = "linux", not(target_env = "musl"))))'.dependencies.winit]
version = "0.30"
optional = true
[target."cfg(not(windows))".dependencies.pnet]
version = "0.34.0"
[target."cfg(windows)".dependencies.windows-service]
version = "0.8.1"
[profile.wasm-release]
opt-level = "z"
lto = true
codegen-units = 1
inherits = "release"