-
For example, the code below time::serde::format_description!(
my_date_time_format,
OffsetDateTime,
"[year]-[month]-[day] [hour]:[minute]:[second] [offset_hour]"
); generates What I want is to put this code somewhere, make it public and use it from anywhere in the crate. How to achieve this? Please help! |
Beta Was this translation helpful? Give feedback.
Answered by
jhpratt
Mar 11, 2025
Replies: 1 comment
-
This is now possible on |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zwlxt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is now possible on
main
and will be included in the next release. Simply add your desired visibility before the module name (i.e.pub my_date_time_format
).