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

remove unused rust modules #9540

Merged
merged 5 commits into from
Mar 27, 2024
Merged

remove unused rust modules #9540

merged 5 commits into from
Mar 27, 2024

Conversation

Frizi
Copy link
Contributor

@Frizi Frizi commented Mar 25, 2024

Pull Request Description

Removes a bulk of rust crates that we no longer need, but that added significant install, build and testing time to the Rust parser.
Most significantly, removed enso-web and enso-shapely, and got rid of many no longer necessary #![feature]s. Moved two still used proc-macros from shapely to prelude. The last remaining usage of web-sys is within the logger (console.log), but we may actually want to keep that one.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@Frizi Frizi added the CI: No changelog needed Do not require a changelog entry for this PR. label Mar 25, 2024
@@ -41,7 +41,6 @@ impl DocParser {
}

/// Parse the documentation.
#[profile(Detail)]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was the ONLY remaining usage of the enso-profiler, so I just removed it. We don't need this anymore, since we use the parse function directly anyway, and the whole profiler machinery was effectively abandoned once we removed old gui.

@Frizi Frizi added the -gui label Mar 25, 2024
Copy link
Contributor

@mwu-tow mwu-tow left a comment

Choose a reason for hiding this comment

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

Probably CloneRef could be now also removed with minimal changes?

.collect_vec();
.collect::<Vec<_>>();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes in LS tools caused by removal of itertools from prelude. That was one of the last remaining usages, and it was trivial to replace.

Copy link
Contributor

@hubertp hubertp left a comment

Choose a reason for hiding this comment

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

Approving the tiny LS change

@Frizi Frizi added the CI: Ready to merge This PR is eligible for automatic merge label Mar 27, 2024
@mergify mergify bot merged commit a509035 into develop Mar 27, 2024
38 of 41 checks passed
@mergify mergify bot deleted the wip/frizi/rust-cleanup branch March 27, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-gui CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants