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.