#ip-address #socket-address #scion #architecture #internet #generation #addresses

bin+lib scionnet

An std::net fork with support for SCION addresses

7 releases

Uses old Rust 2015

0.0.7 Jan 18, 2024
0.0.6 Jan 10, 2024
0.0.2 Dec 28, 2023

#1706 in Network programming

Download history 16/week @ 2024-06-10 10/week @ 2024-06-17 11/week @ 2024-06-24 2/week @ 2024-07-08 15/week @ 2024-07-15 3/week @ 2024-07-22 9/week @ 2024-07-29 10/week @ 2024-08-05 3/week @ 2024-08-12 2/week @ 2024-08-19 22/week @ 2024-08-26 1/week @ 2024-09-02 9/week @ 2024-09-09 5/week @ 2024-09-16 29/week @ 2024-09-23

52 downloads per month
Used in 6 crates

MIT/Apache

89KB
2K SLoC

snet - scion-std-net

This crate contains the std::net::SocketAddr struct extended to include a SCION variant in addition to IP- V4/V6. Compared to std::net it comes with two new classes: SocketAddrScion and ScionAddr - that represent the L4 and L3 address of a host, which is reachable via the SCION-Next Generation Internet Architecture. The snet IP address structs can be used interchangeably with the std::net ones, as they implement the respective From/Into traits.

Dependencies

~2.2–3MB
~56K SLoC