dizhen

Crates.iodizhen
lib.rsdizhen
version0.1.1
sourcesrc
created_at2023-03-09 09:35:19.907357
updated_at2023-03-09 09:40:02.220843
descriptionLibrary to retrieve seismic data
homepagehttps://crates.io/crates/dizhen
repository
max_upload_size
id805463
size17,355
Blair Noctis (nc7s)

documentation

README

= dizhen

image:https://img.shields.io/crates/v/dizhen?style=flat-square[crates.io,link=https://crates.io/crates/dizhen] image:https://img.shields.io/docsrs/dizhen?style=flat-square[docs.rs,link=https://docs.rs/dizhen]

dizhen (地震, earthquake) is a Rust library to retrieve seismic (earthquake) data from various sources.

It CAN NOT be used for early warning; use your local early warning service.

.Supported sources

.Example [source,rust]

use dizhen::{CENCSource, USGSSource, Source};

let ceic = CENCSource::new(); let usgs = USGSSource::new(); dbg!(ceic.get_latest()?.first(), usgs.get_latest()?.first());

Commit count: 0

cargo fmt