snapshot of https://github.com/ActivityWatch/aw-server-rust.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build / ubuntu-latest (push) Failing after 5s
Build / Android (push) Failing after 2s
Build / Code coverage (push) Failing after 2s
Lint / format (push) Failing after 3s
Lint / clippy (push) Failing after 3s
Build / macOS-latest (push) Has been cancelled
Build / windows-latest (push) Has been cancelled

This commit is contained in:
upstream-mirror
2026-09-16 00:19:17 +05:00
commit da934b693c
120 changed files with 26659 additions and 0 deletions

44
aw-sync/Cargo.toml Normal file
View File

@@ -0,0 +1,44 @@
[package]
name = "aw-sync"
version = "0.1.0"
authors = ["Erik Bjäreholt <erik@bjareho.lt>"]
edition = "2021"
[lib]
name = "aw_sync"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "aw-sync"
path = "src/main.rs"
[dependencies]
log = "0.4"
toml = "0.8"
chrono = { version = "0.4", features = ["serde"] }
serde = "1.0"
serde_json = "1.0"
reqwest = { version = "0.12", features = ["json", "blocking"] }
dirs = "6"
gethostname = "0.4.3"
# CLI-only dependencies (optional)
clap = { version = "4.1", features = ["derive"], optional = true }
ctrlc = { version = "3.4.5", optional = true }
aw-server = { path = "../aw-server" }
aw-models = { path = "../aw-models" }
aw-datastore = { path = "../aw-datastore" }
aw-client-rust = { path = "../aw-client-rust" }
[target.'cfg(target_os="linux")'.dependencies]
openssl = { version = "0.10.80", features = ["vendored"] } # https://github.com/ActivityWatch/aw-server-rust/issues/478
[target.'cfg(target_os="android")'.dependencies]
jni = { version = "0.21", default-features = false }
android_logger = "0.13"
[features]
default = ["cli"]
cli = ["clap", "ctrlc"]