aranya-util

Crates.ioaranya-util
lib.rsaranya-util
version2.0.0
created_at2024-11-12 19:32:53.737645+00
updated_at2025-08-20 18:49:59.392887+00
descriptionUtilities needed by other Aranya crates
homepage
repositoryhttps://github.com/aranya-project/aranya
max_upload_size
id1445440
size73,559
(aranya-project-bot)

documentation

README

Aranya Utilities (aranya-util)

This internal crate provides common utility functions and types used across various Aranya components like the client, daemon, UDS API, and others. It includes modules for:

  • addr: Handling network addresses (hostnames, IPs, ports), including parsing, validation, DNS lookups, and conversions between types like std::net::SocketAddr.
  • util: General utilities, such as asynchronous filesystem operations (writing files, creating directories) with specific Unix permissions, and a helper type (ShmPathBuf) for validated shared memory paths.

This crate makes no promises on backwards compatibility.

Commit count: 175

cargo fmt