-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
Feature gate: #![feature(ip_in_core)]
This is a tracking issue for RFC rust-lang/rfcs#2832, providing networking types in core::net
: IpAddr
, Ipv4Addr
, Ipv6Addr
, SocketAddr
, SocketAddrV4
, SocketAddrV6
, Ipv6MulticastScope
and AddrParseError
.
Steps / History
- Implementation: Move IpAddr, SocketAddr and V4+V6 related types to
core
#104265Final comment period (FCP)1Stabilization PR: Stabilize ip_in_core feature #119276To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Footnotes
jonas-schievink, luojia65, eldruin, hiroki-chen, korken89 and 8 moreShadowJonathan, paolobarbolini, luojia65, sbromling, LinusU and 3 moreShadowJonathan and Sympatron
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
std::net::IpAddr
types intocore::net
. rust-lang/rfcs#2832no_std
support yescallop/fluent-uri-rs#7elpiel commentedon Jun 10, 2023
I guess there's nothing left to do.
Can this feature now move to the the FCP?
ip_in_core
) bincode-org/bincode#647Xiretza commentedon Jun 10, 2023
Can this be stabilized before
error_in_core
(AddrParseError
implementscore::error::Error
)?elpiel commentedon Jun 13, 2023
I believe so.
https://github.com/faern/rust/blob/1291216ac986ccc1432bf0bf2db9545e5251dd24/library/core/src/net/ip_addr.rs
(master) https://github.com/rust-lang/rust/blob/master/library/core/src/net/ip_addr.rs
Nemo157 commentedon Jun 13, 2023
You can't feature gate a trait implementation. The question would be if it's possible to refer to any of the
trait Error
methods on the error types without having to activate the feature. I believe not, since you would have touse core::error::Error
in order to bring the methods into scope.no_std
support for theurl
crate servo/rust-url#831elpiel commentedon Jun 15, 2023
Thanks for the explanation @Nemo157 and yes, I agree that it can't be stabilised before Error then.
#![no_std]
nicholaschiasson/fcidr#716 remaining items
rfcbot commentedon Dec 12, 2023
🔔 This is now entering its final comment period, as per the review above. 🔔
rfcbot commentedon Dec 22, 2023
The final comment period, with a disposition to merge, as per the review above, is now complete.
As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed.
This will be merged soon.
faern commentedon Dec 24, 2023
I pushed a stabilization PR: #119276
Auto merge of rust-lang#119276 - faern:stabilize-ip_in_core, r=dtolnay
Auto merge of rust-lang#119276 - faern:stabilize-ip_in_core, r=dtolnay