#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

#1853 in Network programming


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–3MB
~55K SLoC