Repository navigation
chore(deps): bring every dependency to its latest release with full version pins - #94
Merged
Merged
Conversation
…ersion pins Majors: toml 0.9 -> 1.1, reqwest 0.12 -> 0.13, dirs 6 -> 7, sha2 0.10 -> 0.11, zip 8 -> 9. Minors and transitive crates through cargo update (tokio 1.53, open 5.4.4, serde, serde_json, anyhow, ...). keyring stays on 3 and colony-ui on 0.1.5: both move in their own changes. - Every requirement in Cargo.toml is now the full version from Cargo.lock. - [package] gains description and repository. - resolver = "3" makes cargo update MSRV-aware, so ordered-float and uuid stay on releases that build on rust-version 1.88. - reqwest 0.13: rustls-tls is now rustls (aws-lc-rs, OS trust store through rustls-platform-verifier), and form became an opt-in feature the OAuth device flow needs. Still no OpenSSL; ring leaves the tree. - sha2 0.11 digests have no LowerHex, so download.rs hex-encodes through one helper, checked against the FIPS 180 vectors. - zip 9: ZipFile::name() is fallible and returns a Cow. - .github/dependabot.yml is the Resources template: transitive crates included, the shared signing workflow left at the organisation pin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the whole dependency tree to its latest releases and writes every requirement as the full version, so the manifest says what the lockfile builds.
Majors
toml::from_strinsrc/scan.rsis unchanged.rustls-tlsis nowrustls, andformbecame opt-in (the OAuth device flow insrc/oauth.rsposts forms).default-features = falsestays.preference_diron Windows, which Colony does not call.LowerHex, soformat!("{:x}", ...)no longer compiles.src/download.rsnow hex-encodes through onesha256_hexhelper, used by the colony.json digest check, the signed-metadata binding and the tests, and checked against the FIPS 180 vectors.ZipFile::name()is now fallible and returns aCow. Extraction path checks are unchanged and the zip-slip tests still pass.Minors and transitive crates came through
cargo update(tokio 1.50 to 1.53.2, open 5.4.4, anyhow, serde, serde_json, the wayland, zbus and wasm-bindgen stacks, ...).Held back on purpose:
3.6.3): the move to 4 is its own change.0.1.5: the 0.1.6 bump lands together with the design-system kit adoption.TLS
reqwest 0.13's
rustlsfeature uses the aws-lc-rs provider and checks certificates throughrustls-platform-verifier, i.e. against the OS trust store (Keychain on macOS, the system store on Windows, the CA bundle on Linux) instead of the bundled Mozilla list. Corporate CAs installed on the machine now work; there is still no OpenSSL in the build graph (cargo tree -i openssl-sys --target all -e normalprints nothing), andringleaves the tree.docs/architecture.mdsays so.MSRV
rust-versionstays 1.88. Two transitive crates published releases that need more (ordered-float 5.5.0 needs 1.90, uuid 1.27.0 needs 1.89).resolver = "3"makescargo updateMSRV-aware, so it settles on ordered-float 5.4.0 and uuid 1.26.1, and the nextcargo updatecannot raise the floor by accident. The new majors themselves need at most 1.88 (zip 9).Manifest and automation
[package]gainsdescriptionandrepository..github/dependabot.ymlis nowtemplates/dependabot.ymlfrom Project-Colony-Resources verbatim: cargo getsallow: dependency-type: allso transitive crates stay current, and the github-actions entry ignores the shared signing workflow, which moves at the organisation pin.@dependabot unignore sha2), so 0.11.x patches are proposed again.Verification
cargo clippy --locked --all-targets -- -D warningsandcargo test --bin colonylocally on Linux.cargo metadata: no package in the resolved graph declares arust-versionabove 1.88.