Skip to content

chore: dep updates#340

Merged
shikhar merged 1 commit intomainfrom
depups-mar20
Mar 20, 2026
Merged

chore: dep updates#340
shikhar merged 1 commit intomainfrom
depups-mar20

Conversation

@shikhar
Copy link
Copy Markdown
Member

@shikhar shikhar commented Mar 20, 2026

address cargo deny check advisory about aws-lc-sys

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 20, 2026

Greptile Summary

This PR performs routine dependency updates to address a cargo deny check advisory on aws-lc-sys, upgrading it from 0.38.0 to 0.39.0 (via aws-lc-rs 1.16.1 → 1.16.2). Several other crates receive minor version bumps as part of the same sweep.

Key changes across the lockfile and manifest files:

  • Security fix: aws-lc-sys 0.38.0 → 0.39.0, aws-lc-rs 1.16.1 → 1.16.2
  • TOML ecosystem consolidation: duplicate toml 0.9.12 (used by config) is removed; all consumers now share toml 1.0.7. This also pulls in winnow 1.0.0 (replacing 0.7.15) as its parsing backend.
  • clap 4.5 → 4.6 (workspace) and its sub-crates (anstream, anstyle-parse, clap_lex each hit their own 1.0 milestones as transitive deps).
  • uuid 1.21 → 1.22: now uses rand 0.10.0, aligning with the workspace's own rand = "0.10" constraint and eliminating the prior duplicate rand 0.9.2 in the lockfile.
  • Dev-dependency bumps in cli/Cargo.toml: assert_cmd 2.1 → 2.2, tempfile 3.26 → 3.27.

No logic or structural code changes are introduced; this is a pure dependency maintenance update.

Confidence Score: 5/5

  • This PR is safe to merge — it is a pure dependency maintenance update with no logic changes.
  • All changes are version bumps in Cargo.toml/Cargo.lock. The primary goal (resolving the aws-lc-sys security advisory) is correctly addressed. The toml ecosystem consolidation and rand deduplication are beneficial side effects. No application code is modified, and all updated crates follow semver, making regressions very unlikely.
  • No files require special attention.

Important Files Changed

Filename Overview
Cargo.lock Lockfile updated to reflect version bumps across many crates; key fix is aws-lc-sys 0.38.0 → 0.39.0 to address a cargo-deny advisory. Also consolidates duplicate toml versions (0.9 dropped, only 1.0.7 remains), and upgrades winnow from 0.7.15 to 1.0.0 as a transitive dep of the updated toml ecosystem.
Cargo.toml Workspace dependency constraints updated: clap 4.5 → 4.6, uuid 1.21 → 1.22. Straightforward minor version bumps with no structural changes.
cli/Cargo.toml Dev-dependency updates only: assert_cmd 2.1 → 2.2 and tempfile 3.26 → 3.27. No production dependency changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["cargo deny check advisory\n(aws-lc-sys RUSTSEC)"] --> B["Bump aws-lc-rs\n1.16.1 → 1.16.2"]
    B --> C["Bump aws-lc-sys\n0.38.0 → 0.39.0\n✅ Advisory resolved"]

    D["config 0.15.19 → 0.15.22"] --> E["toml consolidated\n0.9.12 dropped\n→ 1.0.7 only"]
    E --> F["winnow\n0.7.15 → 1.0.0"]
    E --> G["toml_datetime 1.0.0 → 1.0.1\ntoml_edit 0.25.4 → 0.25.5\ntoml_parser 1.0.9 → 1.0.10\ntoml_writer 1.0.6 → 1.0.7"]

    H["clap 4.5 → 4.6"] --> I["anstream 0.6 → 1.0\nanstyle-parse 0.2 → 1.0\nclap_lex 1.0 → 1.1"]

    J["uuid 1.21 → 1.22"] --> K["rand 0.9.2 removed\n→ rand 0.10.0 (shared)"]

    L["Other minor bumps\nzerocopy, libc, tempfile,\ntracing-subscriber, quinn-proto,\ncc, socket2, …"] --> M["No breaking changes\nPatch/minor only"]
Loading

Last reviewed commit: "d"

@shikhar shikhar merged commit a0c52b6 into main Mar 20, 2026
17 checks passed
@shikhar shikhar deleted the depups-mar20 branch March 20, 2026 19:42
@s2-release-plz s2-release-plz bot mentioned this pull request Mar 20, 2026
shikhar pushed a commit that referenced this pull request Mar 20, 2026
## 🤖 New release

* `s2-common`: 0.29.0 -> 0.30.0 (⚠ API breaking changes)
* `s2-api`: 0.27.12 -> 0.27.13 (✓ API compatible changes)
* `s2-lite`: 0.29.25 -> 0.29.26 (✓ API compatible changes)
* `s2-sdk`: 0.25.0 -> 0.26.0 (⚠ API breaking changes)
* `s2-cli`: 0.29.25 -> 0.29.26

### ⚠ `s2-common` breaking changes

```text
--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field BasinInfo.created_at in /tmp/.tmpC8ehRw/s2/common/src/types/basin.rs:213
  field BasinInfo.deleted_at in /tmp/.tmpC8ehRw/s2/common/src/types/basin.rs:214

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/enum_missing.ron

Failed in:
  enum s2_common::types::basin::BasinState, previously in file /tmp/.tmpFp6uyJ/s2-common/src/types/basin.rs:203

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field state of struct BasinInfo, previously in file /tmp/.tmpFp6uyJ/s2-common/src/types/basin.rs:218
```

### ⚠ `s2-sdk` breaking changes

```text
--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/enum_missing.ron

Failed in:
  enum s2_sdk::types::BasinState, previously in file /tmp/.tmpFp6uyJ/s2-sdk/src/types.rs:1126

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field state of struct BasinInfo, previously in file /tmp/.tmpFp6uyJ/s2-sdk/src/types.rs:1151
```

<details><summary><i><b>Changelog</b></i></summary><p>

## `s2-common`

<blockquote>

## [0.30.0] - 2026-03-20

### Features

- Align basin info with stream info
([#338](#338))

<!-- generated by git-cliff -->
</blockquote>

## `s2-api`

<blockquote>

## [0.27.13] - 2026-03-20

### Features

- Align basin info with stream info
([#338](#338))

<!-- generated by git-cliff -->
</blockquote>

## `s2-lite`

<blockquote>

## [0.29.26] - 2026-03-20

### Features

- Align basin info with stream info
([#338](#338))

<!-- generated by git-cliff -->
</blockquote>

## `s2-sdk`

<blockquote>

## [0.26.0] - 2026-03-20

### Features

- Align basin info with stream info
([#338](#338))

<!-- generated by git-cliff -->
</blockquote>

## `s2-cli`

<blockquote>

## [0.29.26] - 2026-03-20

### Features

- Align basin info with stream info
([#338](#338))

### Miscellaneous Tasks

- Dep updates ([#340](#340))

<!-- generated by git-cliff -->
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: s2-release-plz[bot] <262023388+s2-release-plz[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant