A Rust wrapper crate for communicating with Nebula via a CGO FFI

5 releases (1 stable)

1.7.2 Oct 9, 2023
0.2.0 Sep 26, 2023
0.1.4 Jul 19, 2023
0.1.3 Jun 27, 2023
0.1.0 Jun 26, 2023

36 downloads per month
Used in tfclient


339 lines


A CGO FFI interface for Nebula and a Rust crate for communicating with it.



nebula-ffi is a crate for interacting with the Nebula project via a CGo compatability layer. It provides support for running a Nebula VPN directly from a Rust binary, liken to how the default nebula binary functions.


nebula-ffi is automatically updated for every single release or commit made on the slackhq/nebula repository. To build against a specific release:

nebula-ffi = { version = "1.7.2" } # for Nebula 1.7.2

To build against a specific commit:

nebula-ffi = { version = "1.7.2+83b6dc7" } # for commit 83b6dc7, which happened *after* the 1.7.2 release

This versioning is an artifact of the build process for nebula-ffi and how Cargo versioning works.

No runtime deps

~38K SLoC