Skip to content

Conversation

@ctaggart
Copy link

Fix #484. It makes globwalk optional. It reduced the build time, but not the wasm size, which was my main goal.

Copy link
Contributor

@jakeswenson jakeswenson left a comment

Choose a reason for hiding this comment

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

LGTM 👍

if parent_dir.starts_with("./") {
parent_dir = &parent_dir[2..];
}
#[cfg(feature = "globs")]
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a subtle change in behavior that caught me off guard at first. I thought this was a behavioral breaking change at first, but then i realized that you've made globs a default feature, so it's subtly not a breaking change. 👍

Copy link
Owner

Choose a reason for hiding this comment

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

It is a breaking change for anyone using default-features=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make globwalk an optional feature

3 participants