mirror of
https://github.com/safing/portmaster
synced 2025-04-09 21:49:11 +00:00
75 lines
2.1 KiB
TOML
75 lines
2.1 KiB
TOML
[package]
|
|
name = "app"
|
|
version = "0.1.0"
|
|
description = "Portmaster UI"
|
|
authors = ["Safing"]
|
|
license = ""
|
|
repository = ""
|
|
default-run = "app"
|
|
edition = "2021"
|
|
rust-version = "1.60"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0-alpha", features = [] }
|
|
|
|
[dependencies]
|
|
# Tauri
|
|
tauri = { version = "2.0.0-alpha", features = ["tray-icon", "icon-ico", "icon-png"] }
|
|
tauri-plugin-shell = "2.0.0-alpha"
|
|
tauri-plugin-dialog = "2.0.0-alpha"
|
|
tauri-plugin-clipboard-manager = "2.0.0-alpha"
|
|
tauri-plugin-os = "2.0.0-alpha"
|
|
tauri-plugin-single-instance = "2.0.0-alpha"
|
|
tauri-plugin-cli = "2.0.0-alpha"
|
|
tauri-plugin-notification = "2.0.0-alpha"
|
|
|
|
# We still need the tauri-cli 1.5 for building
|
|
tauri-cli = "1.5.11"
|
|
|
|
# General
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
futures-util = { version = "0.3", features = ["sink"] }
|
|
dirs = "1.0"
|
|
rust-ini = "0.20.0"
|
|
dataurl = "0.1.2"
|
|
uuid = "1.6.1"
|
|
lazy_static = "1.4.0"
|
|
tokio = { version = "1.35.0", features = ["macros"] }
|
|
cached = "0.46.1"
|
|
notify-rust = "4.10.0"
|
|
assert_matches = "1.5.0"
|
|
tokio-websockets = { version = "0.5.0", features = ["client", "ring", "rand"] }
|
|
sha = "1.0.3"
|
|
http = "1.0.0"
|
|
url = "2.5.0"
|
|
thiserror = "1.0"
|
|
log = "0.4.21"
|
|
pretty_env_logger = "0.5.0"
|
|
|
|
# Linux only
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
glib = "0.18.4"
|
|
gtk-sys = "0.18.0"
|
|
glib-sys = "0.18.1"
|
|
gdk-pixbuf = "0.18.3"
|
|
gdk-pixbuf-sys = "0.18.0"
|
|
gio-sys = "0.18.1"
|
|
|
|
# Windows only
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows-service = "0.6.0"
|
|
windows = { version = "0.54.0", features = ["Win32_Foundation", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging"] }
|
|
|
|
[dev-dependencies]
|
|
which = "6.0.0"
|
|
gtk = "0.18"
|
|
ctor = "0.2.6"
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
|
|
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
|
|
# DO NOT REMOVE!!
|
|
custom-protocol = [ "tauri/custom-protocol" ]
|