#tor #tor-arti #async #arti

tor-general-addr

Generalized socket address type used by Tor

17 breaking releases

Uses new Rust 2024

0.41.0 Mar 30, 2026
0.39.0 Feb 2, 2026
0.37.0 Dec 2, 2025
0.36.0 Oct 30, 2025
0.24.0 Oct 31, 2024

#1670 in Asynchronous

Download history 1692/week @ 2025-12-28 2321/week @ 2026-01-04 2360/week @ 2026-01-11 2784/week @ 2026-01-18 3178/week @ 2026-01-25 3644/week @ 2026-02-01 3190/week @ 2026-02-08 3752/week @ 2026-02-15 4151/week @ 2026-02-22 4363/week @ 2026-03-01 6393/week @ 2026-03-08 7186/week @ 2026-03-15 7577/week @ 2026-03-22 4594/week @ 2026-03-29 6475/week @ 2026-04-05 7106/week @ 2026-04-12

26,704 downloads per month
Used in 80 crates (6 directly)

MIT/Apache

25KB
398 lines

tor-general-addr

Generalized address type used within Arti

Overview

This crate provides a generalization of std::net::SocketAddr and std::os::unix::net::SocketAddr for cases where an application to needs to bind or connect to both of them interchangeably.

It also provides a stub, uninhabited version of std::os::unix::net::SocketAddr for platforms that lack it.


License: MIT OR Apache-2.0

Dependencies

~210–660KB
~14K SLoC