#tor #arti #async

tor-general-addr

Generalized socket address type used by Tor

1 unstable release

0.24.0 Oct 31, 2024

#1697 in Asynchronous

Download history 118/week @ 2024-10-25 964/week @ 2024-11-01 250/week @ 2024-11-08 978/week @ 2024-11-15

2,310 downloads per month
Used in 44 crates (2 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