gnss_qc/
lib.rs

1#![doc(html_logo_url = "https://raw.githubusercontent.com/rtk-rs/.github/master/logos/logo2.jpg")]
2#![doc = include_str!("../README.md")]
3#![cfg_attr(docsrs, feature(doc_cfg))]
4
5/*
6 * GNSS-Qc is part of the rtk-rs framework.
7 * Authors: Guillaume W. Bres <guillaume.bressaix@gmail.com> et al.
8 * (cf. https://github.com/rtk-rs/gnss-qc/graphs/contributors)
9 * This framework is shipped under Mozilla Public V2 license.
10 *
11 * Documentation:
12 * - https://github.com/rtk-rs/gnss-qc
13 * - https://github.com/rtk-rs/rinex
14 * - https://github.com/rtk-rs/sp3
15 */
16
17#[cfg(feature = "navigation")]
18#[macro_use]
19extern crate log;
20
21extern crate gnss_qc_traits as qc_traits;
22extern crate gnss_rs as gnss;
23
24mod cfg;
25mod context;
26mod product;
27mod report;
28
29#[cfg(feature = "navigation")]
30#[cfg_attr(docsrs, doc(cfg(feature = "navigation")))]
31mod navigation;
32
33pub mod error;
34pub mod plot;
35
36#[cfg(test)]
37mod tests;
38
39pub mod prelude {
40    pub use crate::{
41        cfg::{QcConfig, QcReportType},
42        context::QcContext,
43        error::Error,
44        product::ProductType,
45        report::{QcExtraPage, QcReport},
46    };
47
48    pub use gnss::prelude::{Constellation, COSPAR, SV};
49    pub use hifitime::prelude::{Duration, Epoch, TimeScale};
50
51    #[cfg(feature = "navigation")]
52    pub use crate::navigation::{NavFilter, NavFilterType, ReferenceEcefPosition};
53
54    pub use crate::plot::{Marker, MarkerSymbol, Mode, Plot};
55
56    pub use qc_traits::{
57        Filter, FilterItem, MaskOperand, Preprocessing, Repair, RepairTrait, TimeCorrection,
58        TimeCorrectionError, TimeCorrectionsDB, Timeshift,
59    };
60
61    pub use rinex::prelude::{Error as RinexError, Rinex};
62
63    #[cfg(feature = "navigation")]
64    pub use anise::prelude::{Almanac, Frame, Orbit};
65
66    #[cfg(feature = "sp3")]
67    pub use sp3::prelude::{Error as SP3Error, SP3};
68
69    pub use std::path::Path;
70
71    pub use maud::{html, Markup, Render};
72}