Crates.io | xenet-macro |
lib.rs | xenet-macro |
version | 0.5.0 |
source | src |
created_at | 2023-11-19 09:19:30.412343 |
updated_at | 2024-02-12 05:37:39.655042 |
description | A macro for generating packet structures used by xenet-packet. Not intended for direct use. |
homepage | |
repository | https://github.com/shellrow/xenet |
max_upload_size | |
id | 1041038 |
size | 95,106 |
Cross-platform networking library for Rust
xenet
is a Rust library that provides cross-platform low-level networking capabilities.
It includes a set of modules, each with a specific focus:
datalink
: Datalink layer networking.packet
: Low-level packet parsing and building.packet-builder
: High-level packet building.socket
: Socket-related functionality.The project has plans to enhance xenet with the following features:
To use xenet
, add it as a dependency in your Cargo.toml
:
[dependencies]
xenet = "0.5"
You can also directly use specific sub-crates by importing them individually.
xenet-datalink
xenet-packet
xenet-packet-builder
xenet-socket
If you want to focus on network interfaces, you can use the default-net.