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: Add a rust workspace #868

Merged
merged 3 commits into from
Mar 7, 2024
Merged

chore: Add a rust workspace #868

merged 3 commits into from
Mar 7, 2024

Conversation

aborgna-q
Copy link
Collaborator

Moves the main crate to a directory.
This change does not alter the public package.

Closes #865

@aborgna-q aborgna-q requested a review from croyzor March 6, 2024 15:52
@aborgna-q aborgna-q force-pushed the refactor/workspace branch from 44ee5cd to 6608d4c Compare March 6, 2024 16:00
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.21%. Comparing base (dee2d1f) to head (a91f463).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #868      +/-   ##
==========================================
- Coverage   84.25%   84.21%   -0.05%     
==========================================
  Files          78       78              
  Lines       14283    14283              
  Branches    14283    14283              
==========================================
- Hits        12034    12028       -6     
- Misses       1414     1420       +6     
  Partials      835      835              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -135,7 +135,6 @@
//! ```
//!

#![warn(missing_docs)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this changing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Now it's on the workspace Cargo.toml (under [workspace.lints.rust]).

@aborgna-q aborgna-q added this pull request to the merge queue Mar 7, 2024
Merged via the queue into main with commit d93e795 Mar 7, 2024
10 checks passed
@aborgna-q aborgna-q deleted the refactor/workspace branch March 7, 2024 16:26
github-merge-queue bot pushed a commit that referenced this pull request Mar 13, 2024
#868 didn't actually enable the lints in `quantinuum-hugr` when the
config was moved to the workspace.
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.

refactor: Create a Rust workspace and move the crate out of the root
2 participants