1 unstable release

0.1.0 Mar 29, 2022

#46 in #vpn

21 downloads per month

GPL-2.0 license

140KB
162 lines

lightway-sys

This crate provides auto-generated unsafe Rust bindings through bindgen, to C functions provided by the Lightway Core library.

Note: This is a very early release and as such there are a number of limitations with this implementation. Expect it to improve significantly in the very near future.

Getting started

Add lightway-sys to your Cargo manifest:

[dependencies]
lightway-sys = "0.1.0"

To ensure that the crate can be built even offline, the crate includes the source code for Lightway (currently version 1.1).

Building with Earthly

There is also an Earthfile provided so that you can build the crate in Earthly:

earthly +build-crate

TODO

  • Resolve the warnings in the library build phase

Dependencies

~21MB
~39K SLoC