#tor #arti #async

tor-general-addr

Generalized socket address type used by Tor

1 unstable release

new 0.24.0 Oct 31, 2024

#1694 in Asynchronous

Download history 348/week @ 2024-10-27

348 downloads per month
Used in 40 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.9MB
~19K SLoC