| Crates.io | aranya-util |
| lib.rs | aranya-util |
| version | 2.0.0 |
| created_at | 2024-11-12 19:32:53.737645+00 |
| updated_at | 2025-08-20 18:49:59.392887+00 |
| description | Utilities needed by other Aranya crates |
| homepage | |
| repository | https://github.com/aranya-project/aranya |
| max_upload_size | |
| id | 1445440 |
| size | 73,559 |
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.