# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "daylog-core"
version = "0.1.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared data layer for the daylog screen-time tracker: aw-server client, aggregations, categories, time ranges"
homepage = "https://github.com/Manas-Kenge/Daylog"
readme = "README.md"
keywords = [
    "screen-time",
    "time-tracking",
    "productivity",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/Manas-Kenge/Daylog"

[lib]
name = "daylog_core"
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.dirs]
version = "5"

[dependencies.fancy-regex]
version = "0.13"

[dependencies.reqwest]
version = "0.13.3"
features = [
    "json",
    "query",
]

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.2"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
]

[dependencies.url]
version = "2"
