aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-general-addr/README.md
blob: cd3bca569ce9d9d33fcdb03865d534ee5b44ff76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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