fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
4.17k stars 288 forks source link

Support converting chrono::NaiveDate to Dart #1833

Closed TrackerSB closed 4 weeks ago

TrackerSB commented 6 months ago

Recent updates of the dependency to allo-isolate introduced support chrono::NaiveDate in FRB. However, when converting a Rust struct containing a field of type chrono::NaiveDate a (working 👍🏻) Dart class which extends from RustOpaque is generated.

Despite the fact that this should be enough to technically utilize the Dart class it would be much nicer if it generated a field of type DateTime instead of depending on RustOpaque. This enables quite more capabilities on the Dart side. In my case especially reflection.

fzyzcjy commented 6 months ago

Sure! Looking forward to reviewing and merging #1834 :)

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

TrackerSB commented 4 months ago

It is still currently worked on trying to keep up with resolving conflicts with origin/master and adapting to CI requirements.

fzyzcjy commented 3 months ago

(Mark as awaiting since there is ongoing PR, thus the issue is awaiting PR)

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 weeks ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.