#tor #arti #async

tor-general-addr

Generalized socket address type used by Tor

5 releases (breaking)

new 0.28.0 Mar 3, 2025
0.27.0 Feb 7, 2025
0.26.0 Jan 7, 2025
0.25.0 Dec 2, 2024
0.24.0 Oct 31, 2024

#1614 in Asynchronous

Download history 950/week @ 2024-11-15 621/week @ 2024-11-22 1388/week @ 2024-11-29 656/week @ 2024-12-06 454/week @ 2024-12-13 417/week @ 2024-12-20 239/week @ 2024-12-27 925/week @ 2025-01-03 830/week @ 2025-01-10 1019/week @ 2025-01-17 1111/week @ 2025-01-24 586/week @ 2025-01-31 2394/week @ 2025-02-07 1000/week @ 2025-02-14 818/week @ 2025-02-21 725/week @ 2025-02-28

5,042 downloads per month
Used in 56 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