Add weather API
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Isaac Mills 2025-07-28 15:15:55 -06:00
parent 3a6b9713f9
commit 265f8d8dc3
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
5 changed files with 154 additions and 44 deletions

View file

@ -17,10 +17,12 @@ path = "src/main.rs"
required-features = ["ratatui/default"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.47.0", features = ["rt", "macros"] }
ratatui = { version = "0.29.0", default-features = false }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.84"
wasm-bindgen-futures = "0.4.50"
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
@ -37,9 +39,13 @@ wasm-bindgen-test = "0.3.34"
opt-level = "s"
[dependencies]
dotenvy_macro = "0.15.7"
futures-util = "0.3.31"
getrandom = { version = "0.3.3", features = ["wasm_js"] }
heapless = "0.8.0"
rand = { version = "0.9.2", default-features = false, features = ["os_rng", "std"] }
reqwest = { version = "0.12.22", features = ["json"] }
serde = { version = "1.0.219", features = ["derive"] }
tachyonfx = { version = "0.16.0", default-features = false, features = ["web-time"] }
web-time = "1.1.0"