[package]
edition = "2021"
name = "dravr-sciotte"
version = "0.3.2"
build = false
exclude = [
".claude/",
".githooks/",
".github/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sport activity scraper with headless Chrome, TOML-configurable providers, and in-memory caching"
homepage = "https://github.com/dravr-ai/dravr-sciotte"
documentation = "https://docs.rs/dravr-sciotte"
readme = "README.md"
keywords = [
"scraper",
"fitness",
"training",
"headless-chrome",
"sport",
]
categories = [
"web-programming::http-client",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dravr-ai/dravr-sciotte"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
vision = ["dep:embacle"]
[lib]
name = "dravr_sciotte"
path = "src/lib.rs"
[[test]]
name = "login_flow"
path = "tests/login_flow.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chromiumoxide]
version = "0.7"
features = ["tokio-runtime"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dirs]
version = "6"
[dependencies.embacle]
version = "0.13"
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.moka]
version = "0.12"
features = ["future"]
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.ring]
version = "0.17"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.45"
features = [
"process",
"io-util",
"time",
"rt",
"macros",
"fs",
"sync",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.urlencoding]
version = "2"
[dev-dependencies.tokio]
version = "1.45"
features = [
"full",
"test-util",
]
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "deny"
[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true