How to deal with multiple versions of time
when using macros
#356
-
In launchbadge/sqlx#1455 I'm trying to upgrade sqlx to time 0.3, but it was decided to keep support for time 0.2. Time 0.3 is imported as Macros though seem to expect time/time-macros/src/datetime.rs Line 47 in d700977 How can we fix this? |
Beta Was this translation helpful? Give feedback.
Answered by
jhpratt
Oct 5, 2021
Replies: 1 comment 2 replies
-
Yeah, this isn't currently possible. There is no equivalent of |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
paolobarbolini
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, this isn't currently possible. There is no equivalent of
$crate
for proc macros, and this would need the name for a different crate.