[package] name = "aw-server" version = "0.8.0" authors = ["Johan Bjäreholt ", "Erik Bjäreholt "] edition = "2018" license = "MPL-2.0" description = "A reimplementation of aw-server in Rust." homepage = "https://activitywatch.net/" documentation = "https://docs.activitywatch.net/en/latest/" repository = "https://github.com/ActivityWatch/aw-server-rust/aw-server" readme = "../README.md" [lib] name = "aw_server" crate-type = ["lib", "cdylib"] path = "src/lib.rs" [[bin]] name = "aw-server" path = "src/main.rs" [dependencies] rocket = "0.4" rocket_contrib = { version = "0.4", default-features = false, features = ["json"] } rocket_cors = "0.5" multipart = { version = "0.17", default-features = false, features = ["server"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" chrono = { version = "0.4", features = ["serde"] } appdirs = "0.2.0" lazy_static = "1.2" log = "0.4" fern = { version = "0.6", features = ["colored"] } toml = "0.5" gethostname = "0.2" uuid = { version = "0.8", features = ["serde", "v4"] } getopts = "0.2" aw-datastore = "0.1" aw-models = "0.1" aw-transform = "0.1" aw-query = "0.1" [target.'cfg(target_os="linux")'.dependencies] jemallocator = "0.3.2" [target.'cfg(target_os="android")'.dependencies] jni = { version = "0.17", default-features = false } libc = "0.2" android_logger = "0.9" openssl-sys = { version = "0.9.58", features = ["vendored"]}