Skip to content

feat: add BTC price endpoint - #16

Merged
emostov merged 4 commits into
mainfrom
swag/btc-price-endpoint
Jul 7, 2026
Merged

emostov merged 4 commits into
mainfrom
swag/btc-price-endpoint

Conversation

@emostov

@emostov emostov commented Jun 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add GET /btc_price backed by CoinGecko simple price.
  • Add a reusable rustls-backed reqwest client in app state with a 4 second timeout.
  • include useful CoinGecko/upstream error details.

@emostov
emostov force-pushed the swag/btc-price-endpoint branch from 1c7fbcf to bee6ad7 Compare June 18, 2026 17:14
Comment thread crates/helloworld/src/client.rs Outdated
Comment thread README.md Outdated
Comment thread crates/helloworld/src/client.rs Outdated
Comment thread crates/helloworld/src/router.rs Outdated
@emostov
emostov changed the base branch from swag/router-handlers-trace to main June 21, 2026 23:41
@emostov
emostov marked this pull request as ready for review June 22, 2026 00:12
@emostov
emostov requested a review from Avi-D-coder June 22, 2026 00:12
@emostov
emostov merged commit a0dc1d0 into main Jul 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants