#libressl #bindings #libtls #tls #telos

sys tls-sys

FFI bindings for libressl's libtls

1 unstable release

Uses old Rust 2015

0.1.0 Feb 11, 2016

#6 in #libressl


Used in telos

ISC license

6KB
106 lines

telos - an ultimate object or aim. In this case to bring the sanity of libtls into the Rust world. These bindings require libressl 2.3 (i.e. libtls9) Have a look at the latest docs.

Building

Build using cargo, you will need the runtime libraries (libcrypto, libssl, libtls)

$ cd telos
$ cargo build

If you are linking against a library in a non standard location you need to override the linker library search paths before building, e.g.

$ export LIBTLS_LIBRARY_PATH=/opt/libressl/lib
$ cargo build

Likewise for the tls.h header

$ export LIBTLS_INCLUDE_PATH=/opt/libressl/include

To force static linking

$ export LIBTLS_LINKAGE=static

Status

Travis-CI Appveyor Coverage Status

Dependencies

~54KB