{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/23352","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/23352/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/23352/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/23352/events","html_url":"https://github.com/rust-lang/rust/pull/23352","id":61299151,"number":23352,"title":"std: Stabilize the `net` module","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-13T23:47:58Z","updated_at":"2015-03-13T23:48:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/23352","html_url":"https://github.com/rust-lang/rust/pull/23352","diff_url":"https://github.com/rust-lang/rust/pull/23352.diff","patch_url":"https://github.com/rust-lang/rust/pull/23352.patch"},"body":"This commit performs a stabilization pass over the std::net module,\r\nincorporating the changes from RFC 923. Specifically, the following actions were\r\ntaken:\r\n\r\nStable functionality:\r\n\r\n* `net` (the name)\r\n* `Shutdown`\r\n* `Shutdown::{Read, Write, Both}`\r\n* `lookup_host`\r\n* `LookupHost`\r\n* `SocketAddr`\r\n* `SocketAddr::{V4, V6}`\r\n* `SocketAddr::port`\r\n* `SocketAddrV4`\r\n* `SocketAddrV4::{new, ip, port}`\r\n* `SocketAddrV6`\r\n* `SocketAddrV4::{new, ip, port, flowinfo, scope_id}`\r\n* Common trait impls for socket addr structures\r\n* `ToSocketAddrs`\r\n* `ToSocketAddrs::Iter`\r\n* `ToSocketAddrs::to_socket_addrs`\r\n* `ToSocketAddrs for {SocketAddr*, (Ipv*Addr, u16), str, (str, u16)}`\r\n* `Ipv4Addr`\r\n* `Ipv4Addr::{new, octets, to_ipv6_compatible, to_ipv6_mapped}`\r\n* `Ipv6Addr`\r\n* `Ipv6Addr::{new, segments, to_ipv4}`\r\n* `TcpStream`\r\n* `TcpStream::connect`\r\n* `TcpStream::{peer_addr, local_addr, shutdown, try_clone}`\r\n* `{Read,Write} for {TcpStream, &TcpStream}`\r\n* `TcpListener`\r\n* `TcpListener::bind`\r\n* `TcpListener::{local_addr, try_clone, accept, incoming}`\r\n* `Incoming`\r\n* `UdpSocket`\r\n* `UdpSocket::bind`\r\n* `UdpSocket::{recv_from, send_to, local_addr, try_clone}`\r\n\r\nUnstable functionality:\r\n\r\n* Extra methods on `Ipv{4,6}Addr` for various methods of inspecting the address\r\n  and determining qualities of it.\r\n* Extra methods on `TcpStream` to configure various protocol options.\r\n* Extra methods on `UdpSocket` to configure various protocol options.\r\n\r\nDeprecated functionality:\r\n\r\n* The `socket_addr` method has been renamed to `local_addr`\r\n\r\nThis commit is a breaking change due to the restructuring of the `SocketAddr`\r\ntype as well as the renaming of the `socket_addr` method. Migration should be\r\nfairly straightforward, however, after accounting for the new level of\r\nabstraction in `SocketAddr` (protocol distinction at the socket address level,\r\nnot the IP address).\r\n\r\n[breaking-change]"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/79536464","html_url":"https://github.com/rust-lang/rust/pull/23352#issuecomment-79536464","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/23352","id":79536464,"user":{"login":"rust-highfive","id":7378925,"avatar_url":"https://avatars.githubusercontent.com/u/7378925?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-highfive","html_url":"https://github.com/rust-highfive","followers_url":"https://api.github.com/users/rust-highfive/followers","following_url":"https://api.github.com/users/rust-highfive/following{/other_user}","gists_url":"https://api.github.com/users/rust-highfive/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-highfive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-highfive/subscriptions","organizations_url":"https://api.github.com/users/rust-highfive/orgs","repos_url":"https://api.github.com/users/rust-highfive/repos","events_url":"https://api.github.com/users/rust-highfive/events{/privacy}","received_events_url":"https://api.github.com/users/rust-highfive/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T23:48:10Z","updated_at":"2015-03-13T23:48:10Z","body":"r? @brson\n\n(rust_highfive has picked a reviewer for you, use r? to override)"}}