chore(deps): update rust crate steamlocate to v2.0.1 #217
No reviewers
Labels
No labels
ci
crate/dtmm
crate/dtmt
crate/sdk
crate/serde_sjson
kind
bug
kind
documentation
kind
enhancement
kind
feature
kind
question
kind
upstream
part/bundle
part/filetype
stage
actionable
stage
design
stage
proposal
status/duplicate
status/good first issue
status/help wanted
status/invalid
status
need-replicate
status/wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bitsquid_dt/dtmt#217
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "renovate/steamlocate-2.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.0.0-beta.2
->2.0.1
Release Notes
WilliamVenner/steamlocate-rs (steamlocate)
v2.0.1
Compare Source
Just a small release to keep things up to date
Documentation
Dependencies
winreg
from 0.52 -> 0.55 #86Internal
v2.0.0
Finally after a very long development period we're release version 2.0.0. Living up to the major version bump this release does involve breaking changes to most parts of the API. The majority of these changes fit into three core
themes:
Iterator
ification of the list all flavors of methodsApp
s (previouslySteamApp
s) to drop the public dependency onsteamy-vdf
Error
type instead of returning ambiguousNone
sLet's dive right in
Iterator
ification of the list all methodsMethods that would previously exhaustively collect some set of information and cache it like
SteamDir::libraryfolders()
andSteamDir::apps()
now return iterators that walk over the set of information and returns values on the fly akin to APIs likestd::fs::read_dir()
. This has a couple of distinct advantages where we can return precise errors for each item ergonomically, and we can be lazier with our computationExhaustive
App
sWe're trying to be a stable library since our major version is >0, but unfortunately there's not a stable VDF parser in sight. That's a bit problematic as we'll want to avoid relying on one in our public API, but that also means significant changes to how
App
would hold asteamy_vdf::Table
representing the parsed appmanifest file. To mitigate this we attempt to exhaustively parse and provide as much data as we can from steam apps, and to top it off we also annotated it with#[non_exhaustive]
, so that more fields can be added in the future without a breaking changeAn
Error
appears!This is a significant improvement over the old API. Previously errors would be bubbled up as
None
s that would lead to ambiguity over whether aNone
is from something not existing or simply failing to be parsed. We now religiously return errors to represent failure cases leaving it up to the consumer to decide whether to ignore the error or fail loudlyWhere possible we try to include relevant information for the error, but several of the underlying types are intentionally opaque to avoid exposing unstable depdencies in our public API
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.