| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-03-31 | libstd: deny(elided_lifetimes_in_paths) | Mazdak Farrokhzad | -6/+6 | |
| 2019-02-28 | libstd => 2018 | Taiki Endo | -8/+8 | |
| 2019-02-20 | Rollup merge of #58392 - scottmcm:less-shifting-in-net-ip, r=oli-obk | kennytm | -25/+58 | |
| Use less explicit shifting in std::net::ip Now that we have `{to|from}_be_bytes` the code can be simpler. (Inspired by PR #57740) | ||||
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -5/+5 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-11 | Use less explicit shifting in std::net::ip | Scott McMurray | -25/+58 | |
| Now that we have {to|from}_be_bytes the code can be simpler. (Inspired by PR #57740) | ||||
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -5/+5 | |
| 2019-02-10 | Rollup merge of #57740 - JakubOnderka:ipv4addr-to_ne_bytes, r=scottmcm | Guillaume Gomez | -2/+1 | |
| Use `to_ne_bytes` for converting IPv4Addr to octets It is easier and it should be also faster, because [`to_ne_bytes`](https://doc.rust-lang.org/std/primitive.u32.html#method.to_ne_bytes) just calls `mem::transmute`. | ||||
| 2019-01-26 | Bump bootstrap compiler to 1.33 beta | Mark Rousskov | -1/+0 | |
| 2019-01-18 | Use `to_ne_bytes` for converting IPv4Address to octets | Jakub Onderka | -2/+1 | |
| It is easier and it should be also faster, because `to_ne_bytes` just calls `mem::transmute`. | ||||
| 2018-12-31 | const-stabilize Ipv4Addr::new | Mazdak Farrokhzad | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-11-15 | Rollup merge of #55901 - euclio:speling, r=petrochenkov | Pietro Albini | -1/+1 | |
| fix various typos in doc comments | ||||
| 2018-11-13 | fix various typos in doc comments | Andy Russell | -1/+1 | |
| 2018-11-10 | reduce list to functions callable in const ctx. | Mazdak Farrokhzad | -1/+1 | |
| 2018-11-10 | constify parts of libstd. | Mazdak Farrokhzad | -4/+3 | |
| 2018-08-21 | Rollup merge of #53213 - tmccombs:stable-ipconstructors, r=KodrAus | kennytm | -20/+5 | |
| Stabilize IP associated constants Fixes #44582 | ||||
| 2018-08-14 | Stabilize IP associated constants | Thayne McCombs | -20/+5 | |
| Fixes #44582 | ||||
| 2018-08-10 | Replace _.. with just .. in slice pattern | Linus Färnstrand | -4/+4 | |
| 2018-08-10 | Make use of match ergonomics in ip methods | Linus Färnstrand | -36/+36 | |
| 2018-08-10 | Use slice patterns to check IP octets | Linus Färnstrand | -11/+14 | |
| 2018-08-08 | Simplify Ipv6Addr::from(octets) to not use unsafe | Linus Färnstrand | -3/+1 | |
| 2018-08-08 | Simplify is_broadcast | Linus Färnstrand | -2/+1 | |
| 2018-08-08 | Add Ipv4Addr BROADCAST assoc const | Linus Färnstrand | -0/+18 | |
| 2018-08-08 | Move IPs to assoc consts | Linus Färnstrand | -28/+20 | |
| 2018-08-08 | Make Ipv{4,6}Addr::new const fns | Linus Färnstrand | -20/+28 | |
| 2018-04-01 | Auto merge of #49418 - frewsxcv:frewsxcv-network-order, r=TimNN | bors | -2/+80 | |
| Clarify network byte order conversions for integer / IP address conversions. Opened primarily to address https://github.com/rust-lang/rust/issues/48819. Also added a few other conversion docs/examples. | ||||
| 2018-03-28 | Clarify network byte order conversions for integer / IP address conversions. | Corey Farwell | -2/+80 | |
| Opened primarily to address https://github.com/rust-lang/rust/issues/48819. | ||||
| 2018-03-26 | Auto merge of #49101 - mark-i-m:stabilize_i128, r=nagisa | bors | -2/+2 | |
| Stabilize 128-bit integers :tada: cc #35118 EDIT: This should be merged only after the following have been merged: - [x] https://github.com/rust-lang-nursery/compiler-builtins/pull/236 - [x] https://github.com/rust-lang/book/pull/1230 | ||||
| 2018-03-26 | Fix a few more | Mark Mansi | -2/+2 | |
| 2018-03-24 | Add backticks | Phlosioneer | -3/+3 | |
| 2018-03-11 | Remove "and may change between Rust releases" | Phlosioneer | -3/+3 | |
| 2018-03-11 | Document when types have OS-dependent sizes | Phlosioneer | -0/+9 | |
| As per issue #43601, types that can change size depending on the target operating system should say so in their documentation. I used this template when adding doc comments: The size of a(n) <name> struct may vary depending on the target operating system, and may change between Rust releases. For enums, I used "instance" instead of "struct". | ||||
| 2017-12-11 | Reject superfluous `::` in IPv6 addresses | varkor | -0/+3 | |
| Fixes #46263. | ||||
| 2017-11-26 | fix NetBSD | Ariel Ben-Yehuda | -1/+2 | |
| 2017-09-14 | Add unstable attributes for Ipv?Addr constructors. | J. Cliff Dyer | -5/+17 | |
| 2017-09-08 | Add feature gate to doctests. | J. Cliff Dyer | -0/+4 | |
| 2017-09-07 | Close doc examples and trim whitespace. | J. Cliff Dyer | -1/+5 | |
| 2017-09-07 | IP address convenience constructors | J. Cliff Dyer | -0/+68 | |
| 2017-08-07 | Stop using URL shortener in docs | Oliver Middleton | -1/+1 | |
| tidy will no longer complain about long lines containing links so there is no reason to use a URL shortener here. | ||||
| 2017-05-20 | Correct some stability versions | Oliver Middleton | -9/+9 | |
| These were found by running tidy on stable versions of rust and finding features stabilised with the wrong version numbers. | ||||
| 2017-03-27 | Addressed requested changes for PR #40838 | lukaramu | -6/+3 | |
| * Fixed spelling ToSocketAddr -> ToSocketAddrs in module docs (which also fixes a link) * Added missing "when" before "interacting" in module docs * Changed SocketAddr's top-level docs to explicitly state what socket addresses consist of, making them more consistent with SocketAddrV4's and SocketAddrV6's docs * Changed "in C" -> "in C's `netinet/in.h`" * Changed wording in is_ipv4/is_ipv6 methods to ", `false` otherwise" * Add missing closing ` ``` ` in Ipv6Addr's examples * Removed "Errors" section in ToSocketAddrs' to_socket_addrs method as it was rather redundant | ||||
| 2017-03-26 | fix trailing whitespace | lukaramu | -1/+1 | |
| 2017-03-26 | Expanded and added links to std::net::{SocketAddr,SocketAddrV4,SocketAddrV6} ↵ | lukaramu | -1/+1 | |
| docs Part of #29363 Changed summary sentences of SocketAddr and IpAddr for consistency Linked to SocketAddrV4 and SocketAddrV6 from SocketAddr, moving explaination there Expanded top-level docs for SocketAddrV4 and SocketAddrV6, linking to some relevant IETF RFCs, and linking back to SocketAddr Changed some of the method summaries to third person as per RFC 1574; added links to IETF RFCs where appropriate | ||||
| 2017-03-26 | Expanded and added links to std::net::{IpAddr,Ipv4Addr,Ipv6Addr} docs | lukaramu | -42/+160 | |
| Part of #29363 Expanded top-level documentation & linked to relevant IETF RFCs. Added a bunch of links (to true/false/Ipv4Addr/etc.) throughout the docs. | ||||
| 2017-03-26 | std::net docs: changed occurences of "RFC" to say "IETF RFC" | lukaramu | -24/+24 | |
| part of #29363 | ||||
| 2017-03-16 | documented order of conversion between u32 an ipv4addr | z1mvader | -0/+2 | |
| 2017-02-07 | Rollup merge of #39372 - seanmonstar:more-addr-froms, r=alexcrichton | Corey Farwell | -0/+22 | |
| A few ergonomic From impls for SocketAddr/IpAddr My main motivation is removing things like this: `"127.0.0.1:3000".parse().unwrap()`. Instead, this now works: `SocketAddr::from(([127, 0, 0, 1], 3000))` or even `([127, 0, 0, 1], 3000).into())` when passing to a function. | ||||
| 2017-02-05 | Ipv6Addr <-> u128 | Clar Charr | -4/+36 | |
| 2017-01-31 | add From<(I, u16)> for SocketAddr where I: Into<IpAddr> | Sean McArthur | -2/+2 | |
| 2017-01-28 | add From<[u8; n]> impls for IpAddr | Sean McArthur | -0/+22 | |
