3 unstable releases

Uses old Rust 2015

0.2.1 Jan 4, 2017
0.2.0 Jan 3, 2017
0.1.0 Jan 2, 2017

#288 in #binding

GPL-2.0 license

2MB
48K SLoC

C 46K SLoC // 0.1% comments Python 676 SLoC // 0.3% comments Shell 522 SLoC // 0.1% comments Forge Config 454 SLoC // 0.6% comments Rust 64 SLoC // 0.1% comments

picotcp-sys

Rust binding for picotcp

How to compile

sudo aptitude install libvdeplug-dev
cargo build

If you have an error similar to this:

thread 'main' panicked at 'Failed to generate bindings for /home/user/picotcp-sys/target/debug/build/picotcp-sys-cd06b602a1ad2b2a/out/picotcp/include/pico_dev_vde.h: ()', src/
libcore/result.rs:799

Try compiling the file with clang, you will get a nicer error:

$ clang build/include/pico_dev_vde.h
build/include/pico_dev_vde.h:11:10: fatal error: 'libvdeplug.h' file not found
#include <libvdeplug.h>
         ^
1 error generated.

No runtime deps