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

Replace directories-next dependency with directories #4661

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

crumblingstatue
Copy link
Contributor

@crumblingstatue crumblingstatue commented Jun 14, 2024

directories-next was created because directories was not maintained at the time. However, directories has gotten active maintainership since, and it has received more updates than directories-next.

directories also has more recent downloads than its next counterpart, so it might make sense to switch to it, to avoid unnecessary duplicate dependencies, where a project depends transitively on both directories and directories-next.

The main question is whether we depend on any specific behavior from directories-next.

`directories-next` was created because `directories` was not maintained
at the time. However, it has gotten active maintainership since,
and it has received more updates than `directories-next`.

`directories` also has more recent downloads than its `next` counterpart,
so it might make sense to switch to it, to avoid unnecessary duplicate
dependencies, where a project depends transitively on both `directories`
and `directories-next`.
@crumblingstatue crumblingstatue marked this pull request as draft June 14, 2024 17:02
@@ -52,7 +52,7 @@ skip = [
{ name = "libloading" }, # wgpu-hal itself depends on 0.8 while some of its dependencies, like ash and d3d12, depend on 0.7
{ name = "memoffset" }, # tiny dependency
{ name = "quick-xml" }, # old version via wayland-scanner
{ name = "redox_syscall" }, # old version via directories-next
{ name = "redox_syscall" }, # old version via winit
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not exactly sure what is going on in this file, but with this change, winit is the crate referring to the oldest version of redox_syscall (0.3.5)

@crumblingstatue crumblingstatue marked this pull request as ready for review June 14, 2024 19:50
@emilk emilk added dependencies Pull requests that update a dependency file eframe Relates to epi and eframe labels Jun 18, 2024
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Makes sense!

@emilk emilk merged commit 49cb62b into emilk:master Jun 18, 2024
20 of 21 checks passed
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
`directories-next` was created because `directories` was not maintained
at the time. However, `directories` has gotten active maintainership
since, and it has received more updates than `directories-next`.

`directories` also has more recent downloads than its `next`
counterpart, so it might make sense to switch to it, to avoid
unnecessary duplicate dependencies, where a project depends transitively
on both `directories` and `directories-next`.

The main question is whether we depend on any specific behavior from
`directories-next`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file eframe Relates to epi and eframe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants