Skip to content

Commit d02b414

Browse files
authored
Time Polynomial & GnssAbsoluteTime solver (#11)
* Update timeoffset * Introducing GnssAbsoluteTime solver * Rustc: MSRV * add MSRV badge --------- Signed-off-by: Guillaume W. Bres <[email protected]>
1 parent c751be3 commit d02b414

File tree

9 files changed

+366
-422
lines changed

9 files changed

+366
-422
lines changed

.github/workflows/rust.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,26 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18+
19+
- name: Install Rust (MSRV)
20+
uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: 1.78.0
23+
override: true
24+
profile: minimal
25+
1826
- name: Build
19-
run: cargo build --verbose
27+
run: cargo build
28+
2029
- name: Test
21-
run: cargo test --verbose
30+
run: cargo test
31+
2232
- name: Build (all features)
23-
run: cargo build --verbose
33+
run: cargo build
34+
2435
- name: Test (all features)
25-
run: cargo test --verbose --all-features
26-
36+
run: cargo test --all-features
37+
2738
release:
2839
name: Release
2940
runs-on: ubuntu-latest

Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ keywords = ["gnss", "gps", "geodesy", "geo"]
1010
categories = ["science", "science::geo"]
1111
edition = "2021"
1212

13+
[package.metadata]
14+
msrv = "1.78"
15+
16+
[package.metadata.docs.rs]
17+
all-features = true
18+
rustdoc-args = ["--cfg", "docrs", "--generate-link-to-definition"]
19+
1320
[features]
1421
default = ["html"]
1522

@@ -26,10 +33,6 @@ html = [
2633
"dep:maud",
2734
]
2835

29-
[package.metadata.docs.rs]
30-
all-features = true
31-
rustdoc-args = ["--cfg", "docrs", "--generate-link-to-definition"]
32-
3336
[dependencies]
3437
thiserror = "2"
3538
maud = { version = "0.26", optional = true }

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ GNSS Quality Control Traits
55
[![crates.io](https://docs.rs/gnss-qc-traits/badge.svg)](https://docs.rs/gnss-qc-traits/)
66
[![crates.io](https://img.shields.io/crates/d/gnss-qc-traits.svg)](https://crates.io/crates/gnss-qc-traits)
77

8+
[![MRSV](https://img.shields.io/badge/MSRV-1.78.0-orange?style=for-the-badge)](https://github.com/rust-lang/rust/releases/tag/1.78.0)
89
[![License](https://img.shields.io/badge/license-MPL_2.0-orange?style=for-the-badge&logo=mozilla)](https://github.com/rtk-rs/qc-traits/blob/main/LICENSE)
910

1011
The Quality Control traits library (`gnss-qc-traits`) is a small library

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ mod processing;
1212
#[cfg(feature = "processing")]
1313
pub use processing::{
1414
Decimate, DecimationError, DecimationFilter, DecimationFilterType, Filter, FilterItem,
15-
MaskError, MaskFilter, MaskOperand, Masking, Preprocessing, Repair, RepairTrait, Split,
16-
TimeOffset, Timeshift,
15+
GnssAbsoluteTime, MaskError, MaskFilter, MaskOperand, Masking, Preprocessing, Repair,
16+
RepairTrait, Split, TimePolynomial, Timeshift,
1717
};
1818

1919
#[cfg(feature = "html")]

src/processing/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mod split;
1515
pub use split::Split;
1616

1717
mod time;
18-
pub use time::{TimeOffset, Timeshift};
18+
pub use time::{GnssAbsoluteTime, TimePolynomial, Timeshift};
1919

2020
/// Preprocessing Trait is usually implemented by GNSS data
2121
/// to preprocess prior further analysis.

0 commit comments

Comments
 (0)