Skip to content

Commit

Permalink
build(Cargo.toml): 2021 edition, dependency bumps
Browse files Browse the repository at this point in the history
Thanks for this handy crate! I used it for a lil' script to further
bloat my `$PS1` with info about my Starlink connection because I love
cramming it full of questionably useful information like my indoor air
quality/heat pump state/satellite doohickeys.

In return, I give you this changeset of somewhat dubious utility, seeing
as your crate is functionally identical without it. Take it or leave it,
I guess, 'cuz it's free either way.

- Major version bump to 1.0.0 since this could theoretically break
someone's CI if they are using a museumworthy toolchain (idk if this is
idiomatic for edition bumps, I'm shooting from the hip here)

- 2018 -> 2021 because the dep updates appeared to generate code relying
on `TryInto`'s prelude presence; it may be possible to fix this without
an edition upgrade but I didn't investigate this on account of I need to
get back to solving heinous JVM classpath issues at the job that pays
for my existence

- bumped tonic & tonic-build from 0.8 -> 0.10.2

- bumped prost from 0.11 -> 0.12.3

- bumped prost-types from 0.11 -> 0.12.3

- bumped async-stream from 0.3 to 0.3.5

- bumped tokio from 1.5 to 1.34.0, added `macros` feature to fix
resulting compilation errors

I tested this locally with the aforementioned script, but as that's just
a `GetStatusRequest` the prudent thing to do would be to also try out
your examples... but I'm lazy, so, yeah. You are obviously welcome to do
anything or nothing with this PR as you please.
  • Loading branch information
rossproduct authored and ewilken committed Dec 14, 2023
1 parent ebd5d7d commit 7fb3fbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "starlink"
version = "0.3.1"
version = "1.0.0"
authors = ["Elias Wilken <elias@wlkn.io>"]
edition = "2018"
edition = "2021"
description = "Rust client implementation to the gRPC endpoint exposed by the SpaceX Starlink user terminal"
documentation = "https://docs.rs/starlink"
readme = "README.md"
Expand All @@ -21,15 +21,15 @@ exclude = [
]

[dependencies]
tonic = "0.8"
prost = "0.11"
tonic = "0.10.2"
prost = "0.12.3"

[build-dependencies]
tonic-build = "0.8"
tonic-build = "0.10.2"

[dev-dependencies]
async-stream = "0.3"
tokio = { version = "1.5", features = ["rt-multi-thread"] }
async-stream = "0.3.5"
tokio = { version = "1.34.0", features = ["rt-multi-thread", "macros"] }

[workspace]
members = ["codegen"]
6 changes: 3 additions & 3 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "starlink-codegen"
version = "0.2.0"
version = "0.2.1"
authors = ["Elias Wilken <elias@wlkn.io>"]
edition = "2018"

[dependencies]
prost = "0.11"
prost-types = "0.11"
prost = "0.12.3"
prost-types = "0.12.3"

0 comments on commit 7fb3fbd

Please sign in to comment.