[package]
edition = "2024"
rust-version = "1.95"
name = "wc-data"
version = "0.2.1"
authors = ["David Jensenius"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pluggable data layer for the World Cup 2026 TUI: a normalized domain model and provider backends (ESPN, API-Football, football-data.org)."
homepage = "https://github.com/djensenius/WorldCup-2026"
readme = "README.md"
keywords = [
"world-cup",
"football",
"soccer",
"sports",
"api",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/djensenius/WorldCup-2026"
resolver = "2"
[lib]
name = "wc_data"
path = "src/lib.rs"
[[test]]
name = "fixture_json"
path = "tests/fixture_json.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"
[dependencies.time]
version = "0.3"
features = [
"serde-well-known",
"formatting",
"parsing",
"macros",
"local-offset",
]
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
derivable_impls = "allow"
doc_markdown = "allow"
expect_used = "warn"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
redundant_clone = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
unwrap_used = "warn"
use_self = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"