Skip to content

common dependency in workspace#5624

Merged
youknowone merged 2 commits into
RustPython:mainfrom
youknowone:libffi-workspace
Mar 27, 2025
Merged

common dependency in workspace#5624
youknowone merged 2 commits into
RustPython:mainfrom
youknowone:libffi-workspace

Conversation

@youknowone

Copy link
Copy Markdown
Member

No description provided.

@youknowone youknowone changed the title libffi in workspace common dependency in workspace Mar 26, 2025
@youknowone youknowone requested a review from Copilot March 27, 2025 04:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request consolidates dependency definitions by transitioning several packages to use workspace-managed dependencies. The key changes include updating multiple Cargo.toml files to remove explicit version and path specifications in favor of workspace usage, adding new dependencies consistently across the project, and aligning dependency features where applicable.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pylib/Cargo.toml Changed rustpython-derive to use the workspace dependency flag.
Cargo.toml Added several dependencies (e.g., libffi, optional) with explicit versioning.
vm/Cargo.toml Converted dependencies such as optional, unicode-casing, and unic-ucd-* to workspace.
vm/sre_engine/Cargo.toml Updated optional to use workspace dependency.
jit/Cargo.toml Removed redundant libffi dependency block and added workspace-managed dependency.
compiler/literal/Cargo.toml Converted unic-ucd-category to workspace dependency.
derive-impl/Cargo.toml Replaced version-specific proc-macro2 and quote with workspace versions.
compiler/core/Cargo.toml Switched serde dependency to workspace management.
stdlib/Cargo.toml Updated unicode-casing and unic-* dependencies to use workspace.
Comments suppressed due to low confidence (1)

Cargo.toml:181

  • The 'optional' dependency is added with a version string here, which is inconsistent with other manifests that convert it to a workspace dependency. Consider aligning its definition to { workspace = true } if that is the intended consolidation.
optional = "0.5"

Comment thread Cargo.toml
@youknowone youknowone merged commit f27c1f7 into RustPython:main Mar 27, 2025
@youknowone youknowone deleted the libffi-workspace branch March 27, 2025 05:51
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.

3 participants