This repository contains some boilerplate projects meant to be used as a starting point.
-
bind_cabi- a simple Rust project that uses a static library written in C. To build and run the project, enter the corresponding directory and typecargo run. -
nanomsg_raw- Same as above, except that it statically links to a third party library, named nanomsg. rust-bindgen was used to generate the language bindings from C to Rust. Runcargo buildto build the project. runnanomsg_pull&andnanomsg_pushto run a sample application. -
nng_raw- Same asnanomsg_raw, except that it links to the nng library. -
nanomsg_cooked- Same as above, except that it statically links to a third party library, named nanomsgrs. -
nanomsg_compat_cooked- This one links to a tweaked nanomsgrs which uses nng in compatibility mode. -
nanomsg_cooked- Upcoming, higher level interface to nng.