https://github.com/ringsaturn/redizone
tzf-rs' Redis compatible server.
https://github.com/ringsaturn/redizone
latitude longitude timezone-library timezone-picker tzf
Last synced: 6 months ago
JSON representation
tzf-rs' Redis compatible server.
- Host: GitHub
- URL: https://github.com/ringsaturn/redizone
- Owner: ringsaturn
- License: mit
- Created: 2023-06-23T07:40:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T02:09:00.000Z (9 months ago)
- Last Synced: 2024-11-30T23:42:58.269Z (6 months ago)
- Topics: latitude, longitude, timezone-library, timezone-picker, tzf
- Language: Rust
- Homepage: https://crates.io/crates/redizone
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redizone: Redis compatible server convert longitude and latitude to timezone name(s).
Build with [`tidwall/redcon.rs`](https://github.com/tidwall/redcon.rs) and
[`ringsaturn/tzf-rs`](https://github.com/ringsaturn/tzf-rs).## Install
### Via `cargo`
```bash
cargo install redizone
```## Usage
```console
$ 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`](https://github.com/ringsaturn/tzf-server): HTTP&Redis
server written in Go
- [`racemap/rust-tz-service`](https://github.com/racemap/rust-tz-service):
"Timezone Rest API"