mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-04 02:20:15 +00:00
54 lines
1.7 KiB
TOML
54 lines
1.7 KiB
TOML
[package]
|
|
name = "awatcher"
|
|
version = "0.0.4"
|
|
authors = ["Demmie <2e3s19@gmail.com>"]
|
|
edition = "2021"
|
|
license-file = "LICENSE"
|
|
repository = "https://github.com/2e3s/awatcher"
|
|
|
|
[[bin]]
|
|
name = "awatcher"
|
|
path = "src/main.rs"
|
|
|
|
[build-dependencies]
|
|
image = { version = "0.24.6" }
|
|
|
|
[workspace]
|
|
members = ["watchers"]
|
|
|
|
[workspace.dependencies]
|
|
anyhow = "1.0.70"
|
|
log = { version = "0.4.17", features = ["std"] }
|
|
|
|
[dependencies]
|
|
watchers = { path = "./watchers", default-features = false }
|
|
chrono = "0.4.24"
|
|
toml = "0.7.3"
|
|
clap = { version = "4.2.1", features = ["string"] }
|
|
fern = { version = "0.6.2", features = ["colored"] }
|
|
log = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
signal-hook = "0.3.15"
|
|
|
|
ksni = {version = "0.2.0", optional = true}
|
|
aw-server = { git = "https://github.com/2e3s/aw-server-rust", optional = true, rev = "b967a56" }
|
|
aw-datastore = { git = "https://github.com/2e3s/aw-server-rust", optional = true, rev = "b967a56" }
|
|
smol = {version = "1.3.0", optional = true }
|
|
async-compat = { version = "0.2.1", optional = true }
|
|
webbrowser = { version = "0.8.9", optional = true }
|
|
rust-embed = { version = "6.6.1", features = ["interpolate-folder-path"] }
|
|
|
|
[features]
|
|
default = ["gnome", "kwin_window"]
|
|
gnome = ["watchers/gnome"]
|
|
kwin_window = ["watchers/kwin_window"]
|
|
bundle = ["ksni", "smol", "async-compat", "aw-server", "aw-datastore", "webbrowser"]
|
|
|
|
[package.metadata.deb]
|
|
features = ["bundle"]
|
|
extended-description = """\
|
|
Awatcher is a window activity and idle watcher with an optional tray and UI for statistics.
|
|
The goal is to compensate the fragmentation of desktop environments on Linux by supporting all reportable environments,
|
|
to add more flexibility to reports with filters, and to have better UX with the distribution by a single executable.
|
|
"""
|