Skip to content

Commit 78d03bb

Browse files
authored
Merge pull request #11 from rtk-rs/lib_update
Library update
2 parents 831671c + f8b03ba commit 78d03bb

File tree

4 files changed

+29
-11
lines changed

4 files changed

+29
-11
lines changed

.github/workflows/daily.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v3
27+
2728
- uses: actions-rs/toolchain@v1
2829
name: Install Rust
2930
with:
30-
toolchain: stable
31+
toolchain: 1.82.0
3132
override: true
33+
3234
- name: Install Dependencies
3335
run: |
3436
sudo apt-get update
@@ -45,14 +47,17 @@ jobs:
4547
with:
4648
submodules: recursive
4749
fetch-depth: 0
50+
4851
- uses: actions-rs/toolchain@v1
4952
name: Install Rust
5053
with:
5154
toolchain: stable
5255
override: true
56+
5357
- name: Install Dependencies
5458
run: |
5559
sudo apt-get update
60+
5661
- uses: actions-rs/cargo@v1
5762
name: Test (all features)
5863
with:

.github/workflows/rust.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ jobs:
2222
submodules: recursive
2323
fetch-depth: 0
2424

25+
- uses: actions-rs/cargo@v1
26+
name: Linter
27+
with:
28+
command: fmt
29+
args: --all -- --check
30+
31+
- uses: actions-rs/toolchain@v1
32+
name: Install Rust
33+
with:
34+
toolchain: 1.82.0
35+
override: true
36+
2537
- name: Build
2638
run: cargo build
2739

@@ -31,8 +43,5 @@ jobs:
3143
- name: Run tests
3244
run: cargo test --all-features
3345

34-
- name: Coding style
35-
run: cargo fmt --all -- --check
36-
3746
- name: Documentation
3847
run: cargo doc --all-features

Cargo.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,34 @@ name = "binex"
33
version = "0.4.2"
44
license = "MPL-2.0"
55
authors = ["Guillaume W. Bres <guillaume.bressaix@gmail.com>"]
6-
description = "BINEX (Binary EXchange) encoder and decoder for GNSS"
6+
description = "BINEX (Binary EXchange) encoder and decoder for real-time GNSS"
77
homepage = "https://github.com/rtk-rs"
88
repository = "https://github.com/rtk-rs/binex"
99
keywords = ["geo", "gps", "galileo"]
1010
categories = ["science", "science::geo", "parsing"]
1111
edition = "2021"
12-
rust-version = "1.64"
12+
1313
exclude = [
1414
"data/*",
1515
]
1616

17-
[features]
18-
default = ["flate2"]
17+
[package.metadata]
18+
msrv = "1.82"
1919

2020
[package.metadata.docs.rs]
2121
all-features = true
2222
rustdoc-args = ["--cfg", "docrs", "--generate-link-to-definition"]
2323

24+
[features]
25+
default = ["flate2"]
26+
2427
[dependencies]
2528
log = "0.4"
2629
md-5 = "0.10"
2730
thiserror = "2"
2831
lazy_static = "1.4"
2932
flate2 = { version = "1.0.34", optional = true }
30-
31-
hifitime = { git = "https://github.com/nyx-space/hifitime", branch = "master", features = ["serde", "std"] }
33+
hifitime = { version = "4.1.0", features = ["serde", "std"] }
3234

3335
[dev-dependencies]
3436
criterion = "0.5.1"

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Rust](https://github.com/rtk-rs/binex/actions/workflows/daily.yml/badge.svg)](https://github.com/rtk-rs/binex/actions/workflows/daily.yml) [![crates.io](https://img.shields.io/crates/v/binex.svg)](https://crates.io/crates/binex)
55
[![crates.io](https://docs.rs/binex/badge.svg)](https://docs.rs/binex/badge.svg)
66

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

910
BINEX is a simple library to decode and encode BINEX messages.
@@ -104,7 +105,8 @@ streamed into a `Writable` interface:
104105
```rust
105106
```
106107

107-
## License
108+
License
109+
=======
108110

109111
This library is part of the [RTK-rs framework](https://github.com/rtk-rs) which
110112
is delivered under the [Mozilla V2 Public](https://www.mozilla.org/en-US/MPL/2.0) license.

0 commit comments

Comments
 (0)