# Copyright (C) Robin Krahl # SPDX-License-Identifier: CC0-1.0 [package] name = "trackme-backends" version = "0.1.0" description = "backends for uploading activity logs to analysis platforms" authors = { workspace = true } edition = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } [dependencies] chrono = { version = "0.4.23", features = ["serde"], optional = true } data-encoding = { version = "2.3.3", default-features = false, features = ["alloc"], optional = true } log = "0.4.17" multipart = { version = "0.18.0", default-features = false, features = ["client"], optional = true } secrecy = { version = "0.8.0", optional = true } serde = { version = "1.0.152", default-features = false, features = ["derive"], optional = true } ureq = { version = "2.6.2", default-features = false, features = ["json", "tls"], optional = true } url = { version = "2.3.1", optional = true } [features] default = ["intervals_icu", "strava"] intervals_icu = ["data-encoding", "multipart", "secrecy", "serde", "ureq/json"] strava = ["chrono", "multipart", "secrecy", "serde", "ureq", "url"] data-encoding = ["dep:data-encoding"] multipart = ["dep:multipart"] ureq = ["dep:ureq"]