#unsafe #structures #ffi #reference #pass #bindings #back

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

#11 in #back

Download history 17/week @ 2024-02-21 53/week @ 2024-02-28 3/week @ 2024-03-06 6/week @ 2024-03-13

74 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