Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Remove fold, unparse, and location features #9

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Conversation

charliermarsh
Copy link
Member

Summary

We don't make use of these features, and as we look to make changes to the AST, I'm not sure that it's worth investing the time in keeping them up-to-date. This was specifically motivated by our desire to add ranges to identifiers.

Test Plan

Ran the ruff suite locally against this branch.

@@ -12,7 +12,6 @@ include = ["LICENSE", "Cargo.toml", "src/**/*.rs"]
resolver = "2"
members = [
"ast", "core", "format", "literal", "parser",
"ast-pyo3",
Copy link
Member Author

Choose a reason for hiding this comment

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

This relies on fold, but it's also something I don't feel the need to maintain.

ast/src/lib.rs Outdated
@@ -30,14 +23,7 @@ mod visitor {
#[cfg(feature = "location")]
pub mod located;
#[cfg(feature = "location")]
Copy link
Member

Choose a reason for hiding this comment

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

We also don't use the location feature ;)

@charliermarsh charliermarsh changed the title Remove fold and unparse features Remove fold, unparse, and location features Jun 19, 2023
@charliermarsh charliermarsh force-pushed the charlie/fold branch 3 times, most recently from 2b28fab to 4c88e59 Compare June 19, 2023 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants