#unsafe #structures #ffi

reference-box

Allows developers to pass non-owned references to Rust-allocated structures over ffi

2 stable releases

1.1.0 Nov 14, 2023
1.0.0 Oct 29, 2022

#81 in #unsafe

25 downloads per month

MIT license

9KB
235 lines

boxes-rs

A set of utility crates to make development of ffi bindings to Rust libraries easier:

  • value-box - passing arbitrary Rust structures back and forth
  • string-box - working with byte, wide and utf8-encoded strings
  • array-box - create and access an array of items

No runtime deps