#tor #arti #async

tor-general-addr

Generalized socket address type used by Tor

2 unstable releases

0.25.0 Dec 2, 2024
0.24.0 Oct 31, 2024

#1555 in Asynchronous

Download history 1053/week @ 2024-10-30 117/week @ 2024-11-06 577/week @ 2024-11-13 1035/week @ 2024-11-20 1274/week @ 2024-11-27 767/week @ 2024-12-04 449/week @ 2024-12-11

3,644 downloads per month
Used in 46 crates (4 directly)

MIT/Apache

25KB
382 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
~19K SLoC