-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Move dependency to workspace for example rustpython-without-js
#7796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,7 @@ edition = "2024" | |||||
| crate-type = ["cdylib"] | ||||||
|
|
||||||
| [dependencies] | ||||||
| getrandom = "0.3" | ||||||
| getrandom = { workspace = true } | ||||||
| rustpython-vm = { path = "../../../crates/vm", default-features = false, features = ["compiler"] } | ||||||
|
|
||||||
| [workspace] | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the A Since line 10 uses 🔧 Proposed fix-[workspace]
-
[patch.crates-io]📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: RustPython/RustPython
Length of output: 413
🏁 Script executed:
Repository: RustPython/RustPython
Length of output: 457
Remove the
[workspace]section on line 13.The file uses
workspace = trueon line 10 (making it a workspace member), but the presence of[workspace]on line 13 creates a conflicting configuration. A Cargo.toml cannot simultaneously be a workspace root and a workspace member. Remove the empty[workspace]section.Additionally, remove the empty
[patch.crates-io]section on line 15 as it serves no purpose.🤖 Prompt for AI Agents