3 releases
0.1.4 | Dec 30, 2023 |
---|---|
0.1.2 | Aug 21, 2023 |
0.1.0 | Jun 23, 2023 |
#843 in Database interfaces
9KB
56 lines
Redizone: Redis compatible server convert longitude and latitude to timezone name(s).
Build with tidwall/redcon.rs
and
ringsaturn/tzf-rs
.
Install
Via cargo
cargo install redizone
Usage
$ redis-cli -p 6380
127.0.0.1:6380> get_tz 116.3883 39.9289
Asia/Shanghai
127.0.0.1:6380> get_tzs 116.3883 39.9289
1) "Asia/Shanghai"
See also:
ringsaturn/tzf-sever
: HTTP&Redis server written in Goracemap/rust-tz-service
: "Timezone Rest API"
Dependencies
~14MB
~70K SLoC