[vlc-devel] [PATCH 1/2] libvlc: Add Rust API for writing modules in rust

Romain Vimont rom1v at videolabs.io
Sun Sep 20 11:46:07 CEST 2020


On Sun, Sep 20, 2020 at 11:28:29AM +0200, Jean-Baptiste Kempf wrote:
> 
> 
> On Sat, 19 Sep 2020, at 23:09, Kartik Ohri wrote:
> >  src/vlccore-rs/Cargo.toml     |  10 +++
> >  src/vlccore-rs/src/lib.rs     |   2 +
> >  src/vlccore-rs/src/stream.rs  | 126 ++++++++++++++++++++++++++++++++++
> >  src/vlccore-rs/src/utils.rs   |  19 +++++
> >  src/vlccore-sys/Cargo.toml    |  10 +++
> >  src/vlccore-sys/src/lib.rs    |   3 +
> >  src/vlccore-sys/src/stream.rs |  46 +++++++++++++
> 
> Can those be generated, like we do for the python bindings?

In theory, only the src/vlccore-sys parts (which maps 1-to-1 the C API).


More information about the vlc-devel mailing list