- Remove
SRTM.Client
- Remove
SRTM.Client.purge_in_memory_cache/2
- Add in-memory cache backend by
:persistent_term
- Add
:disk_cache_enabled
,:disk_cache_path
,:in_memory_cache_enabled
and:in_memory_cache_module
options toSRTM.get_elevation/3
- Require Elixir 1.11
- Remove USGS source
- Drop
:adapter
and:opts
option fromSRTM.Client.new/1
- Replace hackney with httpc
- Update documentation
- Add CI workflow
-
Use
Tesla.Adapter.Hackney
as default adapter. Addhackney
to the list of dependencies if you don't want to use another HTTP adapter (see Tesla Adapters to find all available adapters andSRTM.Client.new/2
on how to configure another adapter).def deps do [ {:srtm, "~> 0.6"}, {:hackney, "~> 1.15"} ] end