= 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 - https://www.ceic.ac.cn[CENC] - https://earthquake.usgs.gov[USGS Earthquake] .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()); ----