[package]
edition = "2024"
name = "hevy"
version = "0.1.0"
build = false
exclude = [".github/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An async Rust client library for the Hevy public API (https://api.hevyapp.com/docs/)"
homepage = "https://github.com/asnimansari/hevy"
documentation = "https://docs.rs/hevy"
readme = "README.md"
keywords = [
"hevy",
"fitness",
"api-client",
"workout",
"async",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/asnimansari/hevy"
[lib]
name = "hevy"
path = "src/lib.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[test]]
name = "exercise_history"
path = "tests/exercise_history.rs"
[[test]]
name = "exercise_templates"
path = "tests/exercise_templates.rs"
[[test]]
name = "measurements"
path = "tests/measurements.rs"
[[test]]
name = "routine_folders"
path = "tests/routine_folders.rs"
[[test]]
name = "routines"
path = "tests/routines.rs"
[[test]]
name = "user"
path = "tests/user.rs"
[[test]]
name = "workouts"
path = "tests/workouts.rs"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.wiremock]
version = "0.6"