#tor #arti #async

tor-general-addr

Generalized socket address type used by Tor

4 releases (breaking)

0.27.0 Feb 7, 2025
0.26.0 Jan 7, 2025
0.25.0 Dec 2, 2024
0.24.0 Oct 31, 2024

#1707 in Asynchronous

Download history 160/week @ 2024-10-26 929/week @ 2024-11-02 252/week @ 2024-11-09 1008/week @ 2024-11-16 885/week @ 2024-11-23 1069/week @ 2024-11-30 655/week @ 2024-12-07 557/week @ 2024-12-14 307/week @ 2024-12-21 262/week @ 2024-12-28 977/week @ 2025-01-04 952/week @ 2025-01-11 993/week @ 2025-01-18 1032/week @ 2025-01-25 844/week @ 2025-02-01 2058/week @ 2025-02-08

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

MIT/Apache

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


lib.rs:

Dependencies

~0.3–0.8MB
~18K SLoC