• Ø build duration
  • all releases: 43s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ahcodedthat
docs.rs failed to build socket_config-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: socket_config-0.1.1

socket_config — Set up sockets according to command line option or configuration file

This library sets up sockets in a way that can be controlled by the user of your application, such as through a command-line option or configuration file.

For example, your application might take a command-line option --listen=SOCKET, where SOCKET is a socket address that this library parses. Socket addresses can take forms like 127.0.0.1:12345 (IPv4), [::1]:12345 (IPv6), ./my.socket (Unix-domain), or fd:3 (Unix file descriptor or Windows socket handle inherited from the parent process).

This library primarily opens socket2::Sockets. The convert module contains utilities to convert those sockets to standard library socket types (like std::net::TcpListener) or Tokio socket types (like tokio::net::TcpListener). This library also has a utility function for preparing a socket to be inherited by a child process.