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
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:
61
aw-server/Cargo.toml
Normal file
61
aw-server/Cargo.toml
Normal file
@@ -0,0 +1,61 @@
|
||||
[package]
|
||||
name = "aw-server"
|
||||
version = "0.14.0"
|
||||
authors = ["Johan Bjäreholt <johan@bjareho.lt>", "Erik Bjäreholt <erik@bjareho.lt>"]
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
name = "aw_server"
|
||||
crate-type = ["lib", "cdylib"]
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "aw-server"
|
||||
path = "src/main.rs"
|
||||
|
||||
[features]
|
||||
default = ["bundled"]
|
||||
# Use bundled SQLite (default, no encryption support)
|
||||
bundled = ["aw-datastore/bundled"]
|
||||
# Enable SQLCipher encryption support (requires OpenSSL)
|
||||
# Build with: cargo build --no-default-features --features encryption
|
||||
encryption = ["aw-datastore/encryption"]
|
||||
# Enable SQLCipher encryption with vendored OpenSSL (fully self-contained)
|
||||
encryption-vendored = ["aw-datastore/encryption-vendored"]
|
||||
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0", features = ["json"] }
|
||||
rocket_cors = { version = "0.6.0" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
dirs = "6"
|
||||
lazy_static = "1.4"
|
||||
log = "0.4"
|
||||
fern = { version = "0.7", features = ["colored"] }
|
||||
toml = "0.8"
|
||||
regex = "1"
|
||||
gethostname = "0.4"
|
||||
uuid = { version = "1.3", features = ["serde", "v4"] }
|
||||
clap = { version = "4.1", features = ["derive", "cargo"] }
|
||||
log-panics = { version = "2", features = ["with-backtrace"]}
|
||||
subtle = "2"
|
||||
tempfile = "3"
|
||||
rust-embed = { version = "8.0.0", features = ["interpolate-folder-path", "debug-embed"] }
|
||||
aw-datastore = { path = "../aw-datastore", default-features = false }
|
||||
aw-models = { path = "../aw-models" }
|
||||
aw-transform = { path = "../aw-transform" }
|
||||
aw-query = { path = "../aw-query" }
|
||||
|
||||
[target.'cfg(target_os="linux")'.dependencies]
|
||||
sd-notify = "0.4.2"
|
||||
|
||||
[target.'cfg(all(target_os="linux", target_arch="x86"))'.dependencies]
|
||||
jemallocator = "0.5.0"
|
||||
|
||||
[target.'cfg(target_os="android")'.dependencies]
|
||||
jni = { version = "0.20", default-features = false }
|
||||
libc = "0.2"
|
||||
android_logger = "0.13"
|
||||
openssl-sys = { version = "0.9.82", features = ["vendored"]}
|
||||
aw-client-rust = { path = "../aw-client-rust" }
|
||||
Reference in New Issue
Block a user