13 releases (4 stable)

Uses old Rust 2015

1.0.4 Sep 26, 2023
1.0.3 Apr 24, 2023
1.0.1 Apr 16, 2022
1.0.0 Mar 28, 2022
0.1.2 Feb 26, 2016

#1909 in Network programming

Download history 46/week @ 2024-03-13 11/week @ 2024-03-20 45/week @ 2024-03-27 47/week @ 2024-04-03 20/week @ 2024-04-10 57/week @ 2024-04-17 20/week @ 2024-04-24 6/week @ 2024-05-01 19/week @ 2024-05-08 17/week @ 2024-05-15 57/week @ 2024-05-22 72/week @ 2024-05-29 64/week @ 2024-06-05 153/week @ 2024-06-12 213/week @ 2024-06-19 124/week @ 2024-06-26

571 downloads per month
Used in enet

MIT license

195KB
4.5K SLoC

C 4K SLoC // 0.1% comments Rust 73 SLoC Lua 36 SLoC Automake 18 SLoC

Contains (obscure autoconf code, 1KB) vendor/enet/configure.ac

Raw rust bindings to the enet C library.

Dependencies

  • C, or C cross compiler for your target platform

Ubuntu

Dependencies for Ubuntu can be installed with

sudo apt update
sudo apt install build-essential clang cmake

Archlinux

pacman -S base-devel clang cmake

Cloning

enet-sys uses git submodules, either clone it with the --recursive option, or run:

git submodule init
git submodule update

after cloning it.

Note: If you add enet-sys as a dependency to your Cargo.toml, cargo will do this for you automatically.

Dependencies

~0–2MB
~40K SLoC