Skip to content

Commit 0a03e4f

Browse files
committed
update Rust edition to 2024 and update deps
Update Rust edition on all crates to 2024, update all dependencies, and fix clippy lints. Also bump the version of the galmon-osnma crate.
1 parent 159568e commit 0a03e4f

25 files changed

Lines changed: 871 additions & 583 deletions

File tree

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ jobs:
7676
sudo apt-get update
7777
sudo apt-get install protobuf-compiler
7878
- name: Install toolchain
79-
run: rustup install 1.83.0
79+
run: rustup install 1.85.0
8080
- name: Doc
81-
run: RUSTDOCFLAGS="-D warnings" cargo +1.83.0 doc --features galmon
81+
run: RUSTDOCFLAGS="-D warnings" cargo +1.85.0 doc --features galmon
8282
- name: Build
83-
run: cargo +1.83.0 build --verbose --features galmon
83+
run: cargo +1.85.0 build --verbose --features galmon
8484
- name: Run tests
85-
run: cargo +1.83.0 test --verbose --features galmon
85+
run: cargo +1.85.0 test --verbose --features galmon
8686

8787
galmon:
8888
name: Galmon

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "galileo-osnma"
3-
version = "0.9.0"
4-
edition = "2021"
3+
version = "0.10.0"
4+
edition = "2024"
55
authors = ["Daniel Estevez <daniel@destevez.net>"]
66
description = "Galileo OSNMA (Open Service Navigation Message Authentication)"
77
license = "MIT OR Apache-2.0"
@@ -10,7 +10,7 @@ repository = "https://github.com/daniestevez/galileo-osnma/"
1010
keywords = ["galileo", "gnss", "osnma", "authentication", "cryptography"]
1111
categories = ["aerospace::space-protocols", "authentication", "embedded", "no-std"]
1212
exclude = ["/.github"]
13-
rust-version = "1.83.0"
13+
rust-version = "1.85.0"
1414

1515
[package.metadata]
1616

@@ -33,18 +33,18 @@ log = "0.4"
3333
# These two would bring std with default-features
3434
p256 = { version = "0.13", features = ["ecdsa"], default-features = false }
3535
p521 = { version = "0.13", features = ["ecdsa"], default-features = false, optional = true }
36-
prost = { version = "0.13", optional = true }
36+
prost = { version = "0.14", optional = true }
3737
# These two bring std with default-features
3838
sha2 = { version = "0.10", default-features = false }
3939
sha3 = { version = "0.10", default-features = false }
4040
signature = "2.2"
4141
typenum = "1.15"
4242

4343
[build-dependencies]
44-
prost-build = { version = "0.13", optional = true }
44+
prost-build = { version = "0.14", optional = true }
4545

4646
[dev-dependencies]
47-
hex-literal = "0.4"
47+
hex-literal = "1"
4848

4949
[package.metadata.docs.rs]
5050
features = ["galmon"]

0 commit comments

Comments
 (0)