Skip to content

Conversation

@kdy1
Copy link
Member

@kdy1 kdy1 commented Jun 21, 2025

Required for swc-project/swc#10665

@kdy1 kdy1 requested a review from Copilot June 21, 2025 22:31

This comment was marked as outdated.

kdy1 and others added 3 commits June 22, 2025 07:32
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kdy1 kdy1 marked this pull request as ready for review June 21, 2025 22:34
@kdy1 kdy1 requested a review from Copilot June 21, 2025 22:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new crate called "cow-replace" for string replacement with Cow and aligns dependency management across related crates.

  • Introduces the "cow-replace" crate with workspace inherited metadata and build settings.
  • Updates dependency definitions for rkyv and serde in the "bytes-str" crate to use workspace references.
  • Adds an ascii dependency version to the top-level Cargo.toml.

Reviewed Changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.

File Description
crates/cow-replace/Cargo.toml New crate configuration with workspace-based settings.
crates/bytes-str/Cargo.toml Updates dependency declarations to reference workspace versions.
Cargo.toml Adds the ascii dependency with a fixed version.

repository = { workspace = true }
version = "0.1.1"

[features]
Copy link

Copilot AI Jun 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The [features] section is currently empty; consider removing it until features are implemented to simplify the configuration.

Suggested change
[features]

Copilot uses AI. Check for mistakes.
tracing-subscriber = "0.3.19"
triomphe = "0.1.14"
url = "2.5.4"
bytes = "1.10.1"
Copy link

Copilot AI Jun 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Ensure that the explicit ascii dependency version here is consistent with workspace-managed versions used in other crates to avoid conflicts.

Suggested change
bytes = "1.10.1"
bytes = "1.10.1"

Copilot uses AI. Check for mistakes.
@kdy1 kdy1 enabled auto-merge (squash) June 21, 2025 22:35
@kdy1 kdy1 merged commit e384a23 into main Jun 21, 2025
10 checks passed
@kdy1 kdy1 deleted the kdy1/cow-replace branch June 21, 2025 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants