Skip to content

build(deps): bump rand from 0.9.2 to 0.9.3 - #3

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rand-0.9.3
Closed

build(deps): bump rand from 0.9.2 to 0.9.3#3
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rand-0.9.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Copy link
Copy Markdown

Bumps rand from 0.9.2 to 0.9.3.

Changelog

Sourced from rand's changelog.

[0.9.3] — 2026-02-11

This release back-ports a fix from v0.10. See also #1763.

Changes

  • Deprecate feature log (#1764)
  • Replace usages of doc_auto_cfg (#1764)

#1763: rust-random/rand#1763

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 14, 2026
Bumps [rand](https://github.com/rust-random/rand) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md)
- [Commits](rust-random/rand@rand_core-0.9.2...0.9.3)

---
updated-dependencies:
- dependency-name: rand
  dependency-version: 0.9.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rand-0.9.3 branch from 462127f to 9a06f4d Compare May 13, 2026 02:48
@dependabot @github

dependabot Bot commented on behalf of github May 13, 2026

Copy link
Copy Markdown
Author

Looks like rand is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 13, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/rand-0.9.3 branch May 13, 2026 17:27
jasonsmithio added a commit that referenced this pull request May 20, 2026
… → 17)

Clusters #1-#5 step 3 of the PR #37 upstream-merge cleanup, bundled together
since the changes do not compile independently. Net: 16-error cluster #5
punch list resolved, plus the prior 510 → 16 reductions from clusters #1-4.

Cluster #1: php/swift LSP-adapter trait conversions
Cluster #2: editor.rs vs extracted-module duplicate-method deletion (-4247 lines)
Cluster #3 + small wins: zed_actions → paddleboard_actions rename and isolated 1-offs
Cluster #5 step 1+2: cloud.rs import cleanup + dead Zed-Cloud token-counting deletion
Cluster #5 step 3: residual cloud.rs renames, EditPredictionPromptFormat,
async-tungstenite 0.31 → 0.34.1 (resolves jupyter-websocket-client type
mismatch), copilot_start_menu restoration.

Remaining: 17 errors all in `agent` crate (newly visible now that
language_models compiles). Cluster #6 punch list captured in RECAPS.md.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
jasonsmithio pushed a commit that referenced this pull request May 31, 2026
data_table: Replace column width builder API with `ColumnWidthConfig`
enum

This PR consolidates the data table width configuration API from three
separate builder methods (`.column_widths()`, `.resizable_columns()`,
`.width()`) into a single `.width_config(ColumnWidthConfig)` call. This
makes invalid state combinations unrepresentable and clarifies the two
distinct width management modes.

**What changed:**

- Introduces `ColumnWidthConfig` enum with two variants:
  - `Static`: Fixed column widths, no resize handles
- `Redistributable`: Drag-to-resize columns that redistribute space
within a fixed table width
- Introduces `TableResizeBehavior` enum (`None`, `Resizable`,
`MinSize(f32)`) for per-column resize policy
- Renames `TableColumnWidths` → `RedistributableColumnsState` to better
reflect its purpose
- Extracts all width management logic into a new `width_management.rs`
module
- Updates all callers: `csv_preview`, `git_graph`, `keymap_editor`,
`edit_prediction_context_view`

```rust
pub enum ColumnWidthConfig {
    /// Static column widths (no resize handles).
    Static {
        widths: StaticColumnWidths,
        /// Controls widths of the whole table.
        table_width: Option<DefiniteLength>,
    },
    /// Redistributable columns — dragging redistributes the fixed available space
    /// among columns without changing the overall table width.
    Redistributable {
        entity: Entity<RedistributableColumnsState>,
        table_width: Option<DefiniteLength>,
    },
}
```

**Why:**

The old API allowed callers to combine methods incorrectly. The new
enum-based design enforces correct usage at compile time and provides a
clearer path for adding independently resizable columns in PR #3.

**Context:**

This is part 2 of a 3-PR series improving data table column width
handling:
1. [#51059](zed-industries/zed#51059) - Extract
modules into separate files (mechanical change)
2. **This PR**: Introduce width config enum for redistributable column
widths (API rework)
3. Implement independently resizable column widths (new feature)

The series builds on previously merged infrastructure:
- [#46341](zed-industries/zed#46341) - Data
table dynamic column support
- [#46190](zed-industries/zed#46190) - Variable
row height mode for data tables

Primary beneficiary: CSV preview feature
([#48207](zed-industries/zed#48207))


### Anthony's note

This PR also fixes the table dividers being a couple pixels off, and the
csv preview from having double line rendering for a single column in
some cases.

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <anthony@zed.dev>
jasonsmithio added a commit that referenced this pull request May 31, 2026
… → 17)

Clusters #1-#5 step 3 of the PR #37 upstream-merge cleanup, bundled together
since the changes do not compile independently. Net: 16-error cluster #5
punch list resolved, plus the prior 510 → 16 reductions from clusters #1-4.

Cluster #1: php/swift LSP-adapter trait conversions
Cluster #2: editor.rs vs extracted-module duplicate-method deletion (-4247 lines)
Cluster #3 + small wins: zed_actions → paddleboard_actions rename and isolated 1-offs
Cluster #5 step 1+2: cloud.rs import cleanup + dead Zed-Cloud token-counting deletion
Cluster #5 step 3: residual cloud.rs renames, EditPredictionPromptFormat,
async-tungstenite 0.31 → 0.34.1 (resolves jupyter-websocket-client type
mismatch), copilot_start_menu restoration.

Remaining: 17 errors all in `agent` crate (newly visible now that
language_models compiles). Cluster #6 punch list captured in RECAPS.md.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants