Skip to content

[Rust] How to support most commonly used Rust crate types? #3873

Description

@dumindu

Feature Request

Any guild for examples repo on how to use Fory with most commonly used Rust crate types like uuid.

Jiff is a datetime library and a quite future replacement/ better alternative for chrono

Similar to chrono,
chrono::NaiveDate, chrono::NaiveDateTime, and chrono::Duration when the chrono feature is enabled

jiff::civil::Date, jiff::civil::DateTime, jiff::SignedDuration , jiff::Timestamp, ...

I went through https://fory.apache.org/docs/guide/rust/custom_serializers#implementing-the-serializer-trait. So If am not wrong we need define local types for each crate types we need to use serialize/ deserialize due to Rust's orphan rule and lack of direct support from crate owners due to less adaptation of Fory in Rust ecosystem.

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions