#tor #tor-arti #addr #arti #async

tor-general-addr

Generalized socket address type used by Tor

7 releases (breaking)

new 0.30.0 May 1, 2025
0.29.0 Apr 1, 2025
0.28.0 Mar 3, 2025
0.27.0 Feb 7, 2025
0.24.0 Oct 31, 2024

#1561 in Asynchronous

Download history 649/week @ 2025-01-09 1174/week @ 2025-01-16 1172/week @ 2025-01-23 524/week @ 2025-01-30 2390/week @ 2025-02-06 1033/week @ 2025-02-13 731/week @ 2025-02-20 889/week @ 2025-02-27 613/week @ 2025-03-06 772/week @ 2025-03-13 515/week @ 2025-03-20 844/week @ 2025-03-27 565/week @ 2025-04-03 977/week @ 2025-04-10 2031/week @ 2025-04-17 1616/week @ 2025-04-24

5,380 downloads per month
Used in 55 crates (4 directly)

MIT/Apache

25KB
392 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

~0.3–0.8MB
~18K SLoC