tor-general-addr

Crates.iotor-general-addr
lib.rstor-general-addr
version0.25.0
sourcesrc
created_at2024-10-31 14:05:01.591054
updated_at2024-12-02 17:55:36.874081
descriptionGeneralized socket address type used by Tor
homepagehttps://gitlab.torproject.org/tpo/core/arti/-/wikis/home
repositoryhttps://gitlab.torproject.org/tpo/core/arti.git/
max_upload_size
id1430088
size24,078
Nick Mathewson (nmathewson)

documentation

README

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

Commit count: 0

cargo fmt