search for: 81c8ca9

Displaying 2 results from an estimated 2 matches for "81c8ca9".

Did you mean: 81c85a3
2019 Feb 08
0
[PATCH nbdkit] Add support for writing plugins in Rust.
...- * You can write plugins in C, Lua, Perl, Python, OCaml, Ruby, shell - script or Tcl. + * You can write plugins in C, Lua, Perl, Python, OCaml, Ruby, Rust, + shell script or Tcl. * Filters can be stacked in front of plugins to transform the output. diff --git a/TODO b/TODO index 48c43a3..81c8ca9 100644 --- a/TODO +++ b/TODO @@ -164,3 +164,16 @@ Build-related not play nicely with --prefix builds for a non-root user. * Port to Windows. + +Rust plugins +------------ + +* Consider supporting a more idiomatic style for writing Rust plugins. + +* Better documentation. + +* Add tests. + +*...
2019 Feb 08
3
[PATCH nbdkit] Add support for writing plugins in Rust.
This adds very rough support for writing nbdkit plugins in Rust. This is not very idiomatic -- essentially we're handling the direct C calls from nbdkit in Rust. We have to use ‘unsafe’ in a few places because there's no way to tell the Rust code that nbdkit satisfies guarantees (eg. around thread safety, always returning leaked pointers back to the close function, always doing bounds