#ffi #string #array #structures #byte #wide #value-box

value-box-ffi

Provides C-like api to family of value-box crates

6 stable releases

1.1.3 Feb 21, 2023
1.1.2 Feb 7, 2023
1.1.1 Jan 31, 2023
1.0.1 Jan 25, 2023

#11 in #wide

29 downloads per month

MIT license

75KB
2K SLoC

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

Dependencies

~0.4–7MB
~24K SLoC