-
Notifications
You must be signed in to change notification settings - Fork 61
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
Update dependencies #275
Update dependencies #275
Conversation
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Thanks @Mephistophiles, this is really helpful. I quickly compared number of dependencies and binary sizes, before and after this patch, for various build types: Number of dependencies:
Binary sizes:
The summary is that this adds quite a lot of new dependencies, but interestingly final release binary sizes are actually almost the same (slightly smaller, <0.3%). I don't know if it's link-time optimizations, or single codegen unit, or what. Some other notes:
I should review the new In the meantime, it'd be helpful if you could disable unused features of I'm OK with more dependencies because release builds don't seem to be affected. |
It seems like this currently doesn't run at all. When I run
|
Debug mode backtrace:
|
Thank you for your review!
done
removed from patchset
removed from patchset
I will also take a closer look at this crate.
I will switch this PR to draft mode before I fix it. |
I have collected binary size stats on my current commits:
|
Using the new version of the time crate is not possible due to time-rs/time@01513cb. |
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Hmm, I think that issue exists in time-0.1 as well. We currently use this function to get current time: https://github.com/time-rs/time/blob/4235bd860d6c0fe074b06e172010d34e3399ffd8/src/lib.rs#L428-L430 which calls |
@Mephistophiles I suggest we remove the time bump from the commits for now. |
@osa1 ok, done. |
Thanks. It seems like each commit builds on its own, so I'm merging without a merge commit. |
If anyone's interested (maybe @Mephistophiles ) there's a bit of discussion in time's issue tracker on restoring the lost functionality in time-0.2: time-rs/time#293 (comment) |
No description provided.