docs.rs failed to build socket2-plus-0.1.2
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.
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:
socket2-plus-0.2.1
socket2-plus
This is a superset of socket2 and it aims to provide some additional APIs currently missing from socket2.
This library can be used as a dropped-in replacement for socket2.
The following APIs are added in the first version:
recv_from_initializedto supportrecv_fromwith a regular initialized buffer.recvmsg_initializedto supportrecvmsgwithMsgHdrInitthat has initialized buffers.- Also support Windows for
recvmsg_initialized. set_pktinfo_v4andset_recv_pktinfo_v6to support IP_PKTINFO and IPV6_PKTINFO socket options.
Examples
Please see test cases for examples of using the new APIs:
Base
This version is forked from socket2 v0.5.7. We plan to rebase to the latest socket2 stable release regularly.
Minimum Supported Rust Version (MSRV)
Socket2 uses 1.63.0 as MSRV.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.