You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add tokio version of std::fs::File::set_times #6368
Describe alternatives you've considered
Either reopen the file using std::fs::File and use set_times or use the filetime crate on the path.
Additional context
The std versions were introduced in 1.75 and I see that the current tokio MSRV is 1.63. I'm guessing using something like rustversion for conditional compilation would be a no go? Is there any other way to add this besides waiting until the MSRV reaches 1.75?
Reacted by Shawn M Moore, Enduriel and Andrej Mihajlov
Activity
Darksonn commentedon Feb 27, 2024
You can implement it yourself:
We'd rather not add this right now for the reasons you mentioned.