Closed rctlmk closed 1 year ago
Yeah, we should probably fix that... It's technically a semver-incompatible change though. @chris-laplante what do you think, should we try to sneak this into 0.17.1 and hope no one has written a !Send
ProgressTracker
or bump to 0.18 instead?
Yeah, we should probably fix that... It's technically a semver-incompatible change though. @chris-laplante what do you think, should we try to sneak this into 0.17.1 and hope no one has written a
!Send
ProgressTracker
or bump to 0.18 instead?
I really doubt anyone has written a !Send
let alone found out about and used ProgressTracker
yet. It's probably fine to sneak it into 0.17.1.
hope no one has written
!Send
ProgressTracker
@djc, I hope you mean !Sync
, because pub trait ProgressTracker: Send
. If not, then it is really confusing. Also, I made a little fix (potentially without breaking anything else), should I make a PR?
PR would be great!
Is
Sync
bound missing by mistake? After updating my project's dependency from "0.17.0-rc.8" to "0.17.0" it doesn't compile anymore because of this:Considering this struct from
test_stateful_tracker()
:doesn't this mean it needs to be
Sync
anyway? I'm new at this Rust thread safety thing, I'm sorry if I'm missing something obvious.