torrust-net-primitives 0.1.0

Generic networking primitive types for Torrust projects.
Documentation

Torrust Net Primitives

Testing

Generic networking primitive types for Torrust projects.

This crate provides low-level networking types that are reusable across Torrust projects without pulling in tracker-specific dependencies.

Types

  • service_binding::ServiceBinding — represents a network address binding (protocol + socket address).
  • service_binding::Protocol — supported network protocols (UDP, HTTP, HTTPS).

Quick Start

Add this to your Cargo.toml:

[dependencies]
torrust-net-primitives = "0.1.0"

Documentation

Crate documentation.

License

The project is licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE.