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

#2 in #enet

Download history 301/week @ 2024-12-01 363/week @ 2024-12-08 177/week @ 2024-12-15 79/week @ 2024-12-22 93/week @ 2024-12-29 213/week @ 2025-01-05 171/week @ 2025-01-12 251/week @ 2025-01-19 168/week @ 2025-01-26 375/week @ 2025-02-02 428/week @ 2025-02-09 404/week @ 2025-02-16 523/week @ 2025-02-23 340/week @ 2025-03-02 372/week @ 2025-03-09 282/week @ 2025-03-16

1,552 downloads per month
Used in 2 crates (via 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–2.2MB
~43K SLoC