Skip to content

Conversation

@tarcieri
Copy link
Member

Generates a stub Cargo.toml at the workspace level which configures a workspace with one member whose path is the current working directory.

I think this might resolve the problem I was having with using workspace-level configs in conjunction with minimal-versions on RustCrypto/utils#1411

Not sure how to test it

Generates a stub Cargo.toml at the workspace level which configures a
workspace with one member whose path is the current working directory
Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

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

Ideally, it would be nice to modify only the members field and keep everything else in Cargo.toml. It would help with temporary patching since right now we have to disalbe minimal versions jobs when it present. But I guess we can improve it later.

Also note the failing lint.

@tarcieri tarcieri merged commit e3bf57c into master Jan 21, 2026
1 check passed
@tarcieri tarcieri deleted the minimal-versions/stub-workspace-level-cargo-toml branch January 21, 2026 00:44
@@ -0,0 +1,2 @@
rules:
line-length: disable
Copy link
Member

Choose a reason for hiding this comment

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

IIRC it's possible to split run commands into multiple lines.

Copy link
Member Author

Choose a reason for hiding this comment

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

I would rather not have to debug syntax issues in YAML configuration files because some lint is telling me every line must be 80 characters long, which is a silly restriction to begin with

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