#udp #networking #enet

sys enet-sys

Low level bindings to the enet C library

11 releases (2 stable)

Uses old Rust 2015

1.0.1 Apr 16, 2022
1.0.0 Mar 28, 2022
0.2.4 Mar 24, 2022
0.2.3 Jul 27, 2020
0.1.2 Feb 26, 2016

#693 in Game dev

Download history 55/week @ 2022-12-02 77/week @ 2022-12-09 29/week @ 2022-12-16 64/week @ 2022-12-23 20/week @ 2022-12-30 39/week @ 2023-01-06 49/week @ 2023-01-13 42/week @ 2023-01-20 52/week @ 2023-01-27 48/week @ 2023-02-03 82/week @ 2023-02-10 95/week @ 2023-02-17 32/week @ 2023-02-24 60/week @ 2023-03-03 67/week @ 2023-03-10 80/week @ 2023-03-17

243 downloads per month
Used in enet

MIT license

190KB
4.5K SLoC

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

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–1.6MB
~34K SLoC