core icon indicating copy to clipboard operation
core copied to clipboard

Add serialize/deserialize safe wrappers to rs_port

Open ParthKshirsagar7 opened this issue 7 months ago • 2 comments

Description

Adds a new serial module to the Rust port with safe wrappers for metacall_serialize, metacall_deserialize, and metacall_allocator_*. This eliminates the need for downstream projects (like MetaSSR) to use raw unsafe FFI calls for serialization.

Related: https://github.com/metacall/metassr/pull/113

Type of change

  • [x] New feature (non-breaking change which adds functionality)

Checklist:

  • [x] I have performed a self-review of my own code.
  • [x] My changes generate no new warnings.

ParthKshirsagar7 avatar Apr 15 '26 19:04 ParthKshirsagar7

Add tests.

viferga avatar Apr 15 '26 22:04 viferga

Done.

ParthKshirsagar7 avatar Apr 16 '26 04:04 ParthKshirsagar7