[package] name = "mullvad-daemon" description = "Mullvad VPN daemon. Runs and controls the VPN tunnels" authors.workspace = true repository.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true [lints] workspace = true [features] # Allow the API server to use to be configured api-override = ["mullvad-api/api-override"] [dependencies] chrono = { workspace = true } thiserror = { workspace = true } either = "1.11" fern = { version = "0.6", features = ["colored"] } futures = { workspace = true } libc = "0.2" log = { workspace = true } regex = "1.0" serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } tokio = { workspace = true, features = ["fs", "io-util", "rt-multi-thread", "sync", "time"] } tokio-stream = "0.1" mullvad-relay-selector = { path = "../mullvad-relay-selector" } mullvad-types = { path = "../mullvad-types" } mullvad-api = { path = "../mullvad-api" } mullvad-encrypted-dns-proxy = { path = "../mullvad-encrypted-dns-proxy" } mullvad-fs = { path = "../mullvad-fs" } mullvad-paths = { path = "../mullvad-paths" } mullvad-version = { path = "../mullvad-version" } talpid-core = { path = "../talpid-core" } talpid-future = { path = "../talpid-future" } talpid-platform-metadata = { path = "../talpid-platform-metadata" } talpid-time = { path = "../talpid-time" } talpid-types = { path = "../talpid-types" } clap = { workspace = true } log-panics = "2.0.0" mullvad-management-interface = { path = "../mullvad-management-interface" } [dev-dependencies] talpid-time = { path = "../talpid-time", features = ["test"] } tokio = { workspace = true, features = ["test-util"] } [target.'cfg(target_os="android")'.dependencies] android_logger = "0.8" async-trait = "0.1" hickory-resolver = { workspace = true } [target.'cfg(unix)'.dependencies] nix = "0.23" simple-signal = "1.1" [target.'cfg(target_os="linux")'.dependencies] talpid-dbus = { path = "../talpid-dbus" } [target.'cfg(target_os="macos")'.dependencies] objc2 = { version = "0.5.2", features = ["exception"] } [target.'cfg(windows)'.dependencies] ctrlc = "3.0" windows-service = "0.6.0" winapi = { version = "0.3", features = ["winnt", "excpt", "winerror"] } dirs = "5.0.1" talpid-windows = { path = "../talpid-windows" } [target.'cfg(windows)'.dependencies.windows-sys] workspace = true features = [ "Win32_Foundation", "Win32_Security", "Win32_Security_Authorization", "Win32_Security_Authentication_Identity", "Win32_System_Diagnostics_Debug", "Win32_System_Kernel", "Win32_System_Memory", "Win32_System_Threading", ] [target.'cfg(windows)'.build-dependencies] winres = "0.1" mullvad-version = { path = "../mullvad-version" } [target.'cfg(windows)'.build-dependencies.windows-sys] workspace = true features = [ "Win32_System_SystemServices", ] [package.metadata.winres] ProductName = "Mullvad VPN" CompanyName = "Mullvad VPN AB" LegalCopyright = "(c) 2025 Mullvad VPN AB" InternalName = "mullvad-daemon" OriginalFilename = "mullvad-daemon.exe"