Skip to content
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

chore: optimize cargo workspace settings #2

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

ulic-youthlic
Copy link
Contributor

as the title: optimize the workspace settings

  • move global settings, edition, version to the root Cargo.toml.
  • add the dir /examples as workspace members, and add multi-plugin as cargo example target.
  • move examples profile settings to root Cargo.toml (because the profile settings only work in the root Cargo.toml)
  • set the members of workspace to inherit settings from the root Cargo.toml.
  • update Cargo.lock (because of examples deps).
  • remove examples/Cargo.lock (of course, examples now is a member of workspace, so it can not have lock file).
  • reformat all the Cargo file with taplo.

- move global settings, `edition`, `version` to the root `Cargo.toml`.
- add the dir `/examples` as workspace members, and add `multi-plugin` as cargo example target.
- move examples profile settings to root `Cargo.toml` (because the profile settings only work in the root `Cargo.toml`)
- set the members of workspace to inherit settings from the root `Cargo.toml`.
- update `Cargo.lock` (because of examples deps).
- remove `examples/Cargo.lock` (of course, `examples` now is a member of workspace, so it can not have lock file).
- reformat all the Cargo file with taplo.
@pk5ls20 pk5ls20 merged commit 3f12105 into LagrangeDev:lagrange Feb 5, 2025
1 check passed
@ulic-youthlic ulic-youthlic deleted the set_examples branch February 6, 2025 10:26
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.

2 participants