Skip to content

Synchronize with internal (partially) #126

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

Closed
wants to merge 8 commits into from

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Mar 24, 2025

  • Remove update checker
  • Disable default-features for all dependencies
  • Enable clippy::unused_trait_names
  • Add dependabot config
  • Split default config into its own file
  • .github: run on all branches
  • Add mac,windows to CI

tamird added 7 commits March 24, 2025 15:40
This crate doesn't receive timely releases, this is a pointless feature
that has been removed in the internal Meta fork.
All except clap; default features include usage which we want.
CI is cheap; this is better for forks.
@tamird tamird force-pushed the internal-stuff branch 2 times, most recently from 54fbb07 to 5815e9e Compare March 24, 2025 20:19
Copy link
Owner

@jmgao jmgao left a comment

Choose a reason for hiding this comment

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

This crate doesn't receive timely releases, this is a pointless feature
that has been removed in the internal Meta fork.

IMO that's more reason for an update checker...

Copy link
Owner

@jmgao jmgao left a comment

Choose a reason for hiding this comment

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

Disable default-features for all dependencies

What's the motivation for this?

@tamird
Copy link
Contributor Author

tamird commented Apr 18, 2025

Disable default-features for all dependencies

What's the motivation for this?

It reduces completion times for unneeded features.

@jmgao
Copy link
Owner

jmgao commented Apr 18, 2025

Disable default-features for all dependencies

What's the motivation for this?

It reduces completion times for unneeded features.

I don't think that's worth doing, given that a clean build takes like 15 seconds on my machine.

@tamird
Copy link
Contributor Author

tamird commented Apr 18, 2025

Why wouldn't you want to be explicit? If a feature is needed, we should enable it explicitly.

@jmgao
Copy link
Owner

jmgao commented Apr 18, 2025

Because that's the entire point of defaults? I don't think it's worth anything to force ourselves to specify ["std", "alloc"], etc.

@tamird
Copy link
Contributor Author

tamird commented Apr 18, 2025

There are two new features = [...] entries.

@jmgao
Copy link
Owner

jmgao commented Apr 18, 2025

There are two new features = [...] entries.

If my count is right, you're changing 25 crate imports, over half of which do nothing because they don't actually have default features specified, two of which either change behavior or possibly break things (clap losing cargo to fetch data from crate properties, regex losing unicode), and pretty much everything else being just ["std"] which we want anyway.

@tamird
Copy link
Contributor Author

tamird commented Apr 18, 2025

I don't remember now, but I feel like the clap:cargo removal was intentional. Anyway, if you want to take this without that commit, you can.

@jmgao
Copy link
Owner

jmgao commented Apr 22, 2025

Manually merged, skipping the first two commits

@jmgao jmgao closed this Apr 22, 2025
@tamird
Copy link
Contributor Author

tamird commented Apr 22, 2025

We really need to remove the update checker; it's pointless if you're not making releases, and inherently incompatible with internal usage. At least, we should put it behind a feature.

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.

None yet

2 participants