-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Problem:
I'm working with the crate to handle astronomical data. I'm encountering difficulties when trying to serialize structs that are designed to match responses from an astronomy API. To efficiently serialize these structs into responses using frameworks like Axum, I need to derive the Serialize trait for all relevant structs.
Proposal:
To enhance the usability of the crate, I propose adding derive macros for the Serialize traits to the existing astronomy API response structs. This would streamline the process of working with these structs and integrating them into web applications.
Example:
#[derive(Serialize, Deserialize)]
pub struct AstronomyResponse{
// ... fields
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels