Skip to content

Commit 7fb3fbd

Browse files
rossproductewilken
authored andcommitted
build(Cargo.toml): 2021 edition, dependency bumps
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.
1 parent ebd5d7d commit 7fb3fbd

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "starlink"
3-
version = "0.3.1"
3+
version = "1.0.0"
44
authors = ["Elias Wilken <elias@wlkn.io>"]
5-
edition = "2018"
5+
edition = "2021"
66
description = "Rust client implementation to the gRPC endpoint exposed by the SpaceX Starlink user terminal"
77
documentation = "https://docs.rs/starlink"
88
readme = "README.md"
@@ -21,15 +21,15 @@ exclude = [
2121
]
2222

2323
[dependencies]
24-
tonic = "0.8"
25-
prost = "0.11"
24+
tonic = "0.10.2"
25+
prost = "0.12.3"
2626

2727
[build-dependencies]
28-
tonic-build = "0.8"
28+
tonic-build = "0.10.2"
2929

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

3434
[workspace]
3535
members = ["codegen"]

codegen/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "starlink-codegen"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
authors = ["Elias Wilken <elias@wlkn.io>"]
55
edition = "2018"
66

77
[dependencies]
8-
prost = "0.11"
9-
prost-types = "0.11"
8+
prost = "0.12.3"
9+
prost-types = "0.12.3"

0 commit comments

Comments
 (0)