# Copyright (C) Robin Krahl # SPDX-License-Identifier: CC0-1.0 [workspace] members = ["backends"] default-members = [".", "backends"] [workspace.package] authors = ["Robin Krahl "] edition = "2021" license = "GPL-3.0-or-later" repository = "https://codeberg.org/robink/trackme" rust-version = "1.70.0" [package] name = "trackme" version = "0.1.0" description = "upload activity logs to analysis platforms" authors = { workspace = true } edition = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } [dependencies] anyhow = { version = "1.0.69", default-features = false, features = ["std"] } clap = { version = "4.4.6", default-features = false, features = ["derive", "error-context", "help", "std", "usage"] } env_logger = { version = "0.10.0", default-features = false } indicatif = "0.17.7" merge = { version = "0.1.0", default-features = false, features = ["derive"] } multipart = { version = "0.18.0", default-features = false, features = ["client"], optional = true } secrecy = { version = "0.8.0", features = ["serde"], optional = true } serde = { version = "1.0.152", default-features = false, features = ["derive"] } toml = { version = "0.7.2", default-features = false, features = ["parse"] } trackme-backends = { version = "0.1.0", path = "backends", default-features = false, optional = true } ureq = { version = "2.6.2", default-features = false, optional = true } url = { version = "2.3.1", optional = true } open = { version = "3.2.0", optional = true } xdg = "2.4.1" [features] default = ["rich", "intervals_icu", "strava"] intervals_icu = ["trackme-backends/intervals_icu", "secrecy", "ureq"] strava = ["trackme-backends/strava", "open", "secrecy", "toml/display", "ureq", "url"] ureq = ["dep:ureq"] rich = ["anyhow/default", "clap/default", "clap/wrap_help", "env_logger/default"]