Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Rust language backend support #917

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

giuseppe998e
Copy link

@giuseppe998e giuseppe998e commented Mar 5, 2025

This PR brings the Rust language support to schema-salad-tool, enabling Rust code generation alongside existing backends.

Currently the salad-core library (crate), which will handle document (de)serialization, is undergoing a major refactoring. The code will be located in the giuseppe998e/schema_salad repository branch.

Current Status

  • Code generation from Schema Salad schemas to Rust is implemented.
  • Deserialization logic in Rust is not yet implemented.
  • Serialization logic in Rust is still missing.
  • Comprehensive tests need to be written and validated.


This PR is still a draft, and feedback is highly appreciated!

giuseppe998e and others added 5 commits March 5, 2025 16:17
This commit includes the Python module responsible for generating code
based on a given schema.

The `schema_salad/rust/salad-core` folder serves as a placeholder for
Rust code logic that will enable document (de)serialization, which is
still a work in progress due to ongoing code refactoring.
The code for this refactoring can be found in the
"giuseppe998e/schema_salad" repository branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant