CI / Docker image (pull_request) Successful in 18s
CI / CLI (pull_request) Successful in 27s
CI / Server (pull_request) Successful in 27s
CI / CLI (linux-arm64, static) (pull_request) Successful in 54s
CI / CLI (windows) (pull_request) Failing after 1m3s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 1m9s
64 lines
2.2 KiB
TOML
64 lines
2.2 KiB
TOML
[package]
|
|
name = "frislit"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
description = "CLI client for frislit"
|
|
authors = ["fristy"]
|
|
license = "MIT"
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
default = ["gui"]
|
|
gui = ["dep:eframe", "dep:rfd", "dep:global-hotkey", "dep:tray-icon", "dep:ksni", "dep:x11rb", "dep:windows-sys"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-tungstenite = { version = "0.30", features = ["rustls-tls-native-roots"] }
|
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
|
|
rustls-pki-types = "1"
|
|
rustls-platform-verifier = "0.7"
|
|
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] }
|
|
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls-no-provider", "system-proxy"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml_ng = "0.10"
|
|
hyper = { version = "1", features = ["http1", "server", "client"] }
|
|
hyper-util = { version = "0.1", features = ["tokio"] }
|
|
http-body-util = "0.1"
|
|
bytes = "1"
|
|
fastrand = "2"
|
|
dialoguer = "0.12"
|
|
console = "0.16"
|
|
dirs = "7"
|
|
anyhow = "1"
|
|
futures-util = "0.3"
|
|
open = "5"
|
|
indicatif = "0.18"
|
|
qrcode = { version = "0.15", default-features = false }
|
|
arboard = { version = "3", default-features = false }
|
|
eframe = { version = "0.37", optional = true }
|
|
global-hotkey = { version = "0.10", optional = true }
|
|
rfd = { version = "0.18", optional = true, default-features = false, features = ["xdg-portal"] }
|
|
ratatui = "0.30"
|
|
crossterm = { version = "0.29", features = ["event-stream"] }
|
|
chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", optional = true, features = ["Win32_System_Console", "Win32_Foundation", "Win32_UI_WindowsAndMessaging"] }
|
|
|
|
[target.'cfg(any(windows, target_os = "macos"))'.dependencies]
|
|
tray-icon = { version = "0.27", optional = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
ksni = { version = "0.3", optional = true, default-features = false, features = ["tokio"] }
|
|
x11rb = { version = "0.14", optional = true, features = ["randr"] }
|
|
|
|
[build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = "thin"
|
|
codegen-units = 1
|