-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
chore: get rid of remove_dir_all #542
chore: get rid of remove_dir_all #542
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to avoid the MSRV bump --- is the clap
dependency update necessary?
As you can tell from the dependency tree: ❯ cargo tree -i remove_dir_all
remove_dir_all v0.5.3
└── tempfile v3.3.0
├── prost-build v0.12.0
│ └── tonic-build v0.10.0
│ └── xtask v0.1.0 (/Users/joshka/local/tokio-console/xtask)
│ [dev-dependencies]
│ └── console-api v0.6.0 (/Users/joshka/local/tokio-console/console-api)
│ ├── console-subscriber v0.2.0 (/Users/joshka/local/tokio-console/console-subscriber)
│ └── tokio-console v0.1.10 (/Users/joshka/local/tokio-console/tokio-console)
│ [dev-dependencies]
│ └── console-api v0.6.0 (/Users/joshka/local/tokio-console/console-api) (*)
└── snapbox v0.5.9
└── trycmd v0.15.1
[dev-dependencies]
└── tokio-console v0.1.10 (/Users/joshka/local/tokio-console/tokio-console) If we want to get rid of the ❯ cargo update -p tempfile --precise 3.10.1
Updating crates.io index
error: failed to select a version for `rustix`.
... required by package `tempfile v3.10.1`
... which satisfies dependency `tempfile = "^3"` of package `prost-build v0.12.0`
... which satisfies dependency `prost-build = "^0.12.0"` (locked to 0.12.0) of package `console-api v0.6.0 (/Volumes/t7/code/console/console-api)`
... which satisfies path dependency `console-api` (locked to 0.6.0) of package `console-subscriber v0.2.0 (/Volumes/t7/code/console/console-subscriber)`
versions that meet the requirements `^0.38.31` are: 0.38.32, 0.38.31
all possible versions conflict with previously selected packages.
previously selected package `rustix v0.38.15`
... which satisfies dependency `rustix = "^0.38.0"` (locked to 0.38.15) of package `is-terminal v0.4.9`
... which satisfies dependency `is-terminal = "^0.4.1"` (locked to 0.4.9) of package `clap_builder v4.1.14`
... which satisfies dependency `clap_builder = "=4.1.14"` (locked to 4.1.14) of package `clap v4.1.14`
... which satisfies dependency `clap = "~4.1.14"` (locked to 4.1.14) of package `tokio-console v0.1.10 (/Volumes/t7/code/console/tokio-console)`
failed to select a version for `rustix` which could resolve this conflict So before we bump the |
ef9862d
to
4c2e77f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔢 Self-check (PR reviewed by myself and ready for feedback.)
b24975e
to
d566015
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔢 Self-check (PR reviewed by myself and ready for feedback.)
@@ -1500,15 +1507,6 @@ version = "0.7.5" | |||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" | |||
|
|||
[[package]] | |||
name = "remove_dir_all" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed!
df5c1f4
to
160d0c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seem to be a lot of new transient dependencies added as part of this change.
Is it possible to make the change without doing this?
Or perhaps we could have a "chore: cargo update" PR first so that we don't get these things mixed up. What do you think?
You can refer to #542 (comment) But I think we can split them into two PRs. But the change would be the same. |
Split: #552 |
5280649
to
72d95eb
Compare
Signed-off-by: hi-rustin <[email protected]>
Signed-off-by: hi-rustin <[email protected]>
72d95eb
to
1bfb515
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔢 Self-check (PR reviewed by myself and ready for feedback.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you!
Thanks for your review! 💚 💙 💜 💛 ❤️ |
close #539
I did two things:
See GHSA-mc8h-8q98-g5hr