Rustã®RFCä¸è¦§ (ï½1552)
æ¦è¦: Rustã®RFCã®ä¸è¦§ãä½ããã¨ãããããã¾ãã«å¤ãã®ã§ã¨ãããã1552ã¾ã§ã§å ¬éãããã¨ã«ããããªããåã«å ¨ã¦ã®RFCãåæããããªãã°ãããè¦ãã°ããã
ãã®RFCã¯Rustã®ã³ãã¥ããã£ã¼ã管çãã¦ãããã®ã§ããã “RFC” ã®å ç¥ã§ããIETF RFCã¨ã¯é¢ä¿ãªããããããrequest-for-commentã®ç¥ã§ããã
ã¡ã¿
- RFC 0002 Rust RFCã®æåºããã»ã¹ã®èª¬æ
- RFC 0531 Rust RFCãé¢ä¸ããç¯å²ã Rust/Cargo/Crates.io/ãã®RFCããã»ã¹èªèº« ã®4ã¤ã«éå®
- RFC 1068 Rustéçºè ãã¼ã ã®çµç¹æ§é ãææ¸åãããã®
- RFC 1105 æ¨æºã©ã¤ãã©ãªã
crates.io
ä¸ã®ã©ã¤ãã©ãªã«ã¤ãã¦ãã©ã®ãããªå¤æ´ãsemverã® major change/minor changeã«ããããã®åºæºãä¸ãã - RFC 1122 ã³ã³ãã¤ã©ã®ãã¼ã¸ã§ãã³ã°ã«ã¤ãã¦ããã¤ãã¼ãã¼ã¸ã§ã³ã§ã®ç ´å£çå¤æ´ã¯ãã³ã³ãã¤ã©ã®ãã°ããåã·ã¹ãã ä¸ã®åé¡ãã®ä¿®æ£ãªã©ã«çãããã¨ãæè¨ãç ´å£çå¤æ´ã®å½±é¿ãæå°éã«æããããã®æç¶ã (crater/cargobombãã¼ã«ã®å©ç¨ã
[breaking-change]
ã¿ã°ãtracking issueã®ä½æãwarning cycleã®å®æ½ãªã©)ãçå®ã
ã¹ã¿ã¤ã«/æ £ç¿
- RFC 0199 ä¼¼ããããªåä½ã§ãææ権/åç¨ã®ç¨®å¥ã ããç°ãªããããªã¡ã½ããã®å½åè¦åãå®ãã
- RFC 0236
panic!
/Result
ã®ä½¿ãåãã®æ £ç¿ãå®ç¾©ãããé¢é£ããã¡ã½ããã®å½åè¦åãå®ãã - RFC 0240
unsafe
ã®æ £ç¿ã®æ´ç:unsafe
é¢æ°ãã¡ã½ããã«ããæ¡ä»¶ã®å®ç¾©ãè«ççãªä¸å¤æ¡ä»¶ãå£ããæªå®ç¾©åä½ãå¼ãèµ·ãããªãé¢æ°ã¯unsafe
ã§ã¯ãªã*_unchecked
ã¨å½åãããã¨ãå®ç¾©ããã®ä»unsafe
é¢æ°ã®å½åè¦åã®å®ç¾© - RFC 0344 é¢æ°/ã¡ã½ããåãååã«è¨åããéã®å½åè¦å (
Prelude*
ã¯RFC 0445ã«ããå»æ¢ãããRust PR #23104ã«ããå®å ¨ã«ä¸è¦ã«ãªã£ã) - RFC 0430 å½åè¦åã®ã±ã¼ã·ã³ã°(snake_case, CamelCase, etc.) ã¨ã
unwrap
/into_*
ã®å½åè¦åãå®ç¾© - RFC 0445 æ¡å¼µãã¬ã¤ããã¿ã¼ã³ã«ä½¿ããã¬ã¤ãã®ååã
*Ext
ã¨ããå½åè¦å - RFC 0505 doc-commentã®æ
£ç¿ã®ç¢ºç«:
///
ãåªå çã«ä½¿ããMarkdownã使ã
ã½ã¼ã¹ãã¡ã¤ã«å¦çã¨åå¥
- RFC 0063 äºéã¤ã³ã¯ã«ã¼ãã«ããæ··ä¹±ãé²ãããã
mod foo;
ã«ããå¤é¨ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ã«å¶éãã¤ãã - RFC 0069 ãã¤ããªãã©ã«
b'x'
ã¨ãã¤ãåãªãã©ã«b"Foo"
ã®å°å ¥ - RFC 0090/0021 åå¥è§£æå¨ãããåç´ã«ãã
- RFC 0326 æå/æååãªãã©ã«ã«ããã¦
\x00
-\x7F
ã«éå®ã\x80
-\xFF
ãç¦æ¢ - RFC 0342
abstract
,final
,override
ããã¼ã¯ã¼ãã¨ãã¦äºç´ãã - RFC 0446 æå/æååãªãã©ã«ã®
\uXXXX
/\UXXXXXXXX
ãå»æ¢ãã\u{XXXXXX}
ãå°å ¥ - RFC 0463 å°æ¥ã®äºææ§ã®ããã«ããªãã©ã«ç´å¾ã®èå¥åã®åå¥è¦åãå¤æ´
- RFC 0593
Self
ããã¼ã¯ã¼ãã«ãã - RFC 0601 å°æ¥ã®æ«å°¾å帰ã®ããã®äºç´ãã¼ã¯ã¼ã
be
ãå»æ¢ããæ°ãã«become
ãäºç´ - RFC 0879 2é²/8é²ãªãã©ã«ç´å¾ã®æ°åãç¦æ¢ãã (
0b012
ã0b01
2
ã«åå²ããã«ã¨ã©ã¼ã«ãã)
æ§æ
- RFC 0016 å±æ§ã
let
æããããã¯ãå¼ã«ã使ããããã«ãã (#![feature(stmt_expr_attributes)]
) - RFC 0049 ãããè ã«å±æ§ã使ããããã«ãã
- RFC 0059
~T
åã¨~x
å¼ãåé¤ããBox
/box
ã§ç½®ãæãã - RFC 0068
*T
åã*const T
ã«ãªãã¼ã - RFC 0071
const
/static
å ã§ããä¸å®æ¡ä»¶ä¸ã§ãããã¯ã使ããããã«ãã - RFC 0087 ãã¬ã¤ããªãã¸ã§ã¯ãã®è¿½å ã®å¢çã
&(Foo : Send + Sync)
ã§ã¯ãªã&(Foo + Send + Sync)
ã®ããã«æå®ããããã«ãã - RFC 0092
if
ãfor
ãªã©ã®ãããã¯ã¨ç´ããããå ´é¢ã§ã¯æ§é ä½ã®{}
ãç¦æ¢ãã - RFC 0132 UFCS (
<T as Trait>::sth
/<T>::sth
) ã®å°å ¥ - RFC 0135
where
ç¯ã®å°å ¥ (ä¸é¨æªå®è£ ) - RFC 0160
if let
æ§æ - RFC 0164 ã¹ã©ã¤ã¹ãã¿ã¼ã³ãfeature gateã«ãã
- RFC 0168
{mod, ..}
ã«ããã¢ã¸ã¥ã¼ã«èªä½ã¨ãã®ä¸èº«ãåæã«ã¤ã³ãã¼ããã (RFC 0532ã«ããå»æ¢) - RFC 0169
use baz = foo::bar;
æ§æãå»æ¢ãuse foo::bar as baz;
ã§ç½®ãæãã - RFC 0179
&p
ãã¿ã¼ã³ã&p
ã¨&mut p
ãã¿ã¼ã³ã«åå²ããåç §ã®ãã¥ã¼ã¿ããªãã£ã¼ã«å¿ãã¦ä½¿ãåããããã«ãã - RFC 0184
foo.0
ã®ããã«ãã¿ãã«/ã¿ãã«æ§é ä½ã®ãã£ã¼ã«ãã«æ´æ°ã§ã¢ã¯ã»ã¹ã§ããããã«ãã - RFC 0194
#[cfg(...)]
ã®æ§æã®æ´ç - RFC 0198
foo[]
/foo[n..m]
/foo[n..]
/foo[..n]
ã®ããã®ãã¬ã¤ãSlice
/SliceMut
ãå°å ¥ (RFC 0439ã¨RFC 0702ã«ããå»æ¢:foo[]
ã¯foo[..]
ã«ãªãã..
ã¯[]
ã¨ç¬ç«ãªæ§æã«ãªã£ã) - RFC 0202
[x, ..ys]
ãã¿ã¼ã³ã[x, ys..]
ã«å¤æ´ (#![feature(slice_patterns)]
/#![feature(advanced_slice_patterns)]
ã«æ³¨æ) - RFC 0214
while let
æ§æ - RFC 0218 空ã®ã¬ã³ã¼ãæ§é ä½
struct A {}
ãè¨±å¯ - RFC 0243
e?
ã¨(do) catch {}
æ§æã«ããã¨ã©ã¼å¦ç (RFC 1859ãåç §ãcatchæ§æã¯#![feature(catch_expr)]
) - RFC 0339 ãã¤ãåãªãã©ã«ã®åã
&'static [u8]
ãã&'static [u8; N]
ã«å¤æ´ - RFC 0418
enum
ã®ããªã¢ã³ããã¬ã³ã¼ãå½¢å¼ (enum Foo { Bar {}}
) ã§å®£è¨ããæ©è½ãå®å®å - RFC 0438 åã«ããã
&
ã¨+
ã®åªå é ä½ãå¤æ´ãã&(Foo + Bar)
ã®ããã«æ¸ãããã«ãã - RFC 0450 RFC 0184 (
foo.0
), RFC 0160 (if let
), RFC 0214 (while let
) ã®å®å®å,TupleN
ãã¬ã¤ãã®å»æ¢ - RFC 0469
box p
ãã¿ã¼ã³ãfeature gateã«ããå®å®åããã¾ã§ä½¿ç¨ãç¦æ¢ - RFC 0490
Sized? T
è¨æ³ãT: ?Sized
ã«å¤æ´ - RFC 0520 é
ååã¨ç¹°ãè¿ããªãã©ã«ã®æ§æ
[x, ..N]
ã[x; N]
ã«å¤æ´ - RFC 0522
Self
ãimpl
å ã§ã使ããããã«ãã (RFC 1647ãåç §) - RFC 0532
use foo::{self, X};
ã«ããã¢ã¸ã¥ã¼ã«èªä½ã¨ãã®ä¸èº«ãåæã«ã¤ã³ãã¼ããããRFC 0168ã®ãã¼ã¯ã¼ãç½®ãæã - RFC 0534
#[deriving(Foo)]
ã#[derive(Foo)]
ã«ãªãã¼ã - RFC 0544
int
/uint
ãisize
/usize
ã«ãªãã¼ã ã対å¿ãããªãã©ã«æ¥å°¾è¾ãis
/us
ã«å¤æ´ (ãªãã©ã«æ¥å°¾è¾is
/us
ã¯RFC 573ã§å»æ¢) - RFC 0558 æ¯è¼æ¼ç®åãéçµåçã«ãã
a == b == c
ãã©ããã¦ãæ¸ãããå ´åã¯(a == b) == c
ã®ããã«æ¸ãããã«ãã - RFC 0572 å°æ¥ã®å¾æ¹äºææ§ã®ããã«ãæªç¥ã®å±æ§(
#[foo]
ç) ãfeature gateã«ãã(stableã§ã®ä½¿ç¨ãç¦æ¢ãã) - RFC 0702
RangeFull
ã¨ãã®æ§æç³è¡£..
ã®å°å ¥ãfoo[]
è¨æ³ãå»æ¢ãã¦foo[..]
ã«ç½®ãæã - RFC 0803 åå¸°å± (type ascription):
e: T
ã«ããåã®æ示 (#![feature(type_ascription)]
) - RFC 0809
box (place) expr
æ§æãå»æ¢ãã¦in place { block }
ã«ç½®ãæããããããã«box expr
æ§æãå°å ¥ããã (#![feature(placement_in_syntax)]
,#![feature(box_syntax)]
, RFC 1228ãåç §) - RFC 0940 crateåã®ãã¤ãã³ãç¦æ¢(cargoã§ã¯è¨±å¯)ãã
extern crate "foo";
ãextern crate foo;
ã«å¤æ´ - RFC 0968 ã¯ãã¼ã¸ã£ã®æ»ãå¤åãæå®ããã¨ãã¯æ¬ä½ããããã¯ã§ãããã¨ãè¦è«ãã (
|| -> i32 1
ã¨ã¯æ¸ããã|| -> i32 {1}
ã¨æ¸ãå¿ è¦ããã) - RFC 1192 éåºéã®ããã®
x ... y
/x ..= y
æ§æ (ã©ã¡ãã®æ§æã«ãªããã¯ã¾ã 決å®ããã¦ããªã) (#![feature(inclusive_range_syntax)]
) - RFC 1219
use foo::{bar as baz, Bar as Baz};
ã®ããã«ã{}
ã«ããè¤æ°ã¤ã³ãã¼ãæ§æã§ã®ãªãã¼ã ãå¯è½ã«ãã - RFC 1228 é
ç½®æ§æ
in place { block }
ã®å¥æ§æplace <- expr
(#![feature(placement_in_syntax)]
) - RFC 1331 Rustã®æ¨©å¨çãªææ³ã¯rustcã®å®è£
ã§ã¯ãªã
src/grammar
å ã®å½¢å¼ææ³ã§ããã¨ãã (æªå®è£ ) - RFC 1492
..
ãã¿ãã«ãã¿ã¼ã³ãã¿ãã«æ§é ä½ãã¿ã¼ã³ã®éä¸ã§ä½¿ããããã«ãã - RFC 1506 ã¿ãã«æ§é ä½/ã¦ãããæ§é ä½ãç¹æ®ãªã¬ã³ã¼ãæ§é ä½ã¨ã¿ãªããã¿ãã«æ§é ä½ã
A { 0: "foo", 1: bar }
ã®ããã«åæåããããåæ§ã®ãã¿ã¼ã³ããããããããã
ãã¯ã
- RFC 0085 ãã¿ã¼ã³ã®ä½ç½®ã§ãã¯ãã使ããããã«ãã
- RFC 0378 æãã¯ãã«ã¯
{}
ã¾ãã¯;
ãå¿ é ã¨ããã©ã¡ããæããªããã¯ãã¯å¼ãã¯ãã¨ãã¦è§£éãã - RFC 0453 ãã¯ãã®ã¨ã¯ã¹ãã¼ã (
#[macro_export]
/#[macro_reexport]
/#[macro_use]
)ã$crate
ã¡ã¿å¤æ°ããã©ã°ã¤ã³ã®ããã®#[plugin]
å±æ§ - RFC 0550
macro_rules!
ã®ãããã£ã¼ã¨ãã¦ãéææ§ãª(ããããLL(1)ãª)ãããã£ã¼ã ãã許å¯ãã - RFC 0873 åã®ä½ç½®ã§ãã¯ãã使ããããã«ãã
ã¢ã¸ã¥ã¼ã«ã»åå解決ã»å¯è¦æ§ã»è¦å
- RFC 0001 æ§é ä½ãã£ã¼ã«ãã®å¯è¦æ§ãããã©ã«ãã§privateã«ããã
- RFC 0003 æªä½¿ç¨ã®å±æ§ã®ãã§ãã¯æ¹æ³ãæ¹åãã
- RFC 0026
enum
ã®ããªã¢ã³ãã®å¯è¦æ§ã常ã«publicã«ããpriv
ãã¼ã¯ã¼ããå»æ¢ããã - RFC 0109 ãã¼ã¸ã§ã³è¾¼ã¿ã§crateãæå®ã§ããcrate idãå»æ¢ãã¦ãã½ã¼ã¹ã³ã¼ãã¬ãã«ã§ã¯crateã®ååã ããæå®ããããã«ãã
- RFC 0116
use
/let
çã«ããåã¬ãã«ã·ã£ãã¦ã¤ã³ã°ã®å»æ¢ (ç¾å¨ã¯glob importã®å¾©æ´»ã«ãããglobã®shadowingãå¯è½) - RFC 0136 publicãªå®ç¾©ã®åã«privateãªåã使ãã®ãç¦æ¢ãã
- RFC 0155 åºæå®è£ ã¯è©²å½ã®åã¨åãã¢ã¸ã¥ã¼ã«ã§ã®ã¿å¯è½ (RFC 0735ã«ããå»æ¢)
- RFC 0234
enum
ã®ããªã¢ã³ãã¯å¸¸ã«å¤åå空éã¨ååå空éã®ä¸¡æ¹ã«å±ããããã«ãã - RFC 0385 ã¢ã¸ã¥ã¼ã«ã·ã¹ãã ã®æ´ç:
use
/mod
é ã®å¼·å¶ãå»æ¢ãpub extern crate
ã許å¯ãextern crate
ã®ãããã¯å ã®åºç¾ãè¨±å¯ - RFC 0390 ããªã¢ã³ãã
enum
ã®åå空éã®ä¸ã«ç§»åãããã¤ã¾ããenum Foo { Bar }
ã§Bar
ã§ã¯ãªãFoo::Bar
ã¨ã¢ã¯ã»ã¹ãã - RFC 0459
impl
ã¨ãã®ä¸ã®fn
ã®éã§ã®ãçåæéå¤æ°ã¨åå¤æ°ã®ã·ã£ãã¦ã¤ã³ã°ãç¦æ¢ - RFC 0501
#![no_implicit_prelude]
ã#![no_prelude]
ã«ãªãã¼ã ããåä½ãå¤æ´ (RFC 1184ãåç §) - RFC 0735 åºæå®è£ ã¯è©²å½ã®åã¨ç°ãªãã¢ã¸ã¥ã¼ã«ã«ç½®ãã¦ããã
- RFC 0736 æ§é ä½ã®é¢æ°åã¬ã³ã¼ãæ´æ°è¨æ³(FRU)
S { x: 42, ..old }
ã«ããã¦ãæ´æ°ãããªããã£ã¼ã«ãã®å¯è¦æ§ããã§ãã¯ãã - RFC 1023 ãã¬ã¤ãå®è£
ã®ä¸è²«æ§ãä¿ã¤ãããorphanè¦åãå³ããããã
#[fundamental]
ãå°å ¥ãã - RFC 1096
#[static_assert]
ã®å»æ¢ (#[static_assert]
ã¯ãbool
åã®static
ã¢ã¤ãã ã«ã¤ããã¨ããã®å¤ãfalse
ã ã£ãã¨ãã«ã³ã³ãã¤ã«ã¨ã©ã¼ã¨ãªã) - RFC 1184
#![no_std]
ã#![no_std]
ã¨#![no_core]
ã«åå²ããä¸ã§ã#![no_std]
ãå®å®åãããã¾ãlibcore
ã®å称ãå®å®å(å 容ã®å®å®åã¯ããªã) (RFC 0501ãåç §) - RFC 1193
#![deny(some_lint)]
ãè¨å®ãã¦ããcrateãã³ã³ãã¤ã©ã®ãã¼ã¸ã§ã³ã¢ããã§ç ´å£ãããå ´åã«ãlint levelãå¼·å¶çã«ä¸æ¸ãã§ãããªãã·ã§ã³--cap-lints
ãç¨æãã - RFC 1229
static
ãªã©ã®å®æ°æèã§ãå®æ°å¼è©ä¾¡ã®éä¸ã§ã¨ã©ã¼ãçºçãã¦ããã³ã³ãã¤ã©ã¯è¦åãåºåãã¦å¦çãç¶è¡ãã - RFC 1270
#[deprecated]
ãã¦ã¼ã¶ã¼å®ç¾©ã®ã©ã¤ãã©ãªå ã§ãå©ç¨ã§ããããã«ãã - RFC 1422
pub(restricted)
æ§æ - RFC 1445 å®æ°ãã¿ã¼ã³ã®éææ§ãé«ããããã®å¶éã¨
#[structural_match]
(ç¶²ç¾ æ§ãã§ãã¯ã®å¶éã¯æªå®è£ )
åã·ã¹ãã
- RFC 0019 æ¢å®å®è£
impl Send for .. {}
, å¦å®å®è£impl !Send for T {}
ã«ããSend
/Sync
ãã©ã¤ãã©ãªã¬ãã«ã§å®ç¾ãã (#![feature(optin_builtin_traits)]
) - RFC 0034/0011
struct
/enum
ã®åå¼æ°ã«å¢çT: Trait
ãæ¸ããããã«ãããããå 足ããã¦ãããã¨ãå©ç¨å´ã§æ¤æ»ããã - RFC 0048 ãã¬ã¤ãå¨ãã®æ´ç:
self
ã®ä¸è¬åãcoherenceæ¡ä»¶ã®æ´çããã¬ã¤ãé¸æã¢ã«ã´ãªãºã ã®æ¹åãªã© - RFC 0111
Index
ãIndex
/IndexMut
ã«åå²ãã - RFC 0112/0033
Box<T>
ãã&mut T
ã¸ã®åå¼·å¶ã®å»æ¢(DerefMutåå¼·å¶ã¨ã¯å¥) (RFC 0139ãåç §) - RFC 0115 æ´æ°ãªãã©ã«åãããã©ã«ãã§
isize
ã«ãã©ã¼ã«ããã¯ããªãããã«ãã (RFC 0212ã«ããå»æ¢) - RFC 0139
Box<T>
ãã&T
ã¸ã®åå¼·å¶ã®å»æ¢ (Derefåå¼·å¶ã¨ã¯å¥) (RFC 0112ãåç §) - RFC 0195 é¢é£åã»é¢é£å®æ°ã»é¢é£çåæé (é¢é£çåæéã¯æªå®è£ )
- RFC 0212 RFC 0115ããªãã¼ãããããæ´æ°åã®ããã©ã«ãã¯
isize
ã§ã¯ãªãi32
ã«ãã - RFC 0213
fn
/impl
ã§ãããã©ã«ãåå¼æ°ã使ããããã«ããã_
ãåå¼æ°ã®ããã©ã«ãå¤ã®æå³ã§ä½¿ããããã«ãã (#![feature(default_type_parameter_fallback)]
) - RFC 0241 Derefåå¼·å¶:
&Rc<T>
ã&T
ã«èªåå¤æç (RFC 0401ãåç §) - RFC 0255 ãã¬ã¤ãã«object-safetyã課ãããã«ãã
- RFC 0341 virtualæ§é ä½ã¨ç¶æ¿
virtual struct Foo {}
struct Bar : Foo {}
ã®åé¤ - RFC 0401 åå¼·å¶ã¨ãã£ã¹ãã®æ´ç: ã¹ã©ã¤ã¹ã¸ã®èªååç §ã®åé¤ãçãã¤ã³ã¿åå¼·å¶ããµããã¬ã¤ãåå¼·å¶ãunsizedã¿ãã«åå¼·å¶ãæ¨ç§»çåå¼·å¶ãã¦ã¼ã¶ã¼å®ç¾©åã®unsizeåå¼·å¶ãªã© (RFC 0241, RFC 0982, RFC 1558ãåç §; ããã¤ãã®æ©è½ã¯æªå®è£ )
- RFC 0447 æªä½¿ç¨ã ã£ãããä¸æã§ãªããããª
impl
ã®åå¼æ°ãç¦æ¢ - RFC 0495 ã¹ã©ã¤ã¹ãã¿ã¼ã³
[x, xs..]
ã®å¤æ´:[T]
ã«ã¯ãããããã&[T]
ã«ã¯ãããããªããå¯å¤åç¨ã®åå²ã«å¯¾å¿ (#![feature(slice_patterns)]
/#![feature(advanced_slice_patterns)]
ã«æ³¨æ) - RFC 0546 ãã¬ã¤ããããã©ã«ãã§
?Sized
ã«ãããSized
ãªãã¬ã¤ããobject-safeããå¤ãã - RFC 0982
CoerceUnsized
ã«ããã¦ã¼ã¶ã¼å®ç¾©ã¹ãã¼ããã¤ã³ã¿ã®åå¼·å¶ - RFC 1210 ç¹æ®åã
default
å¼±ãã¼ã¯ã¼ãã®å°å ¥ã¨ãç¹å®æ¡ä»¶ä¸ã§ã®éè¤ããå®è£ ã®è¨±å¯ (#![feature(specialization)]
) - RFC 1214 åã·ã¹ãã ãããããããããã®3ã¤ã®å¤æ´: é·å½(outlives)é¢ä¿ã«é¢ããè¦åãåç´åãå°å½±åã®è¦åãæ´çãåã®é©æ ¼æ§(well-formedness)ãè¦æ±ããä½ç½®ãæ確åã (å®è£ éä¸)
- RFC 1216
!
ããã¡ã¼ã¹ãã¯ã©ã¹ã®åã«ææ ¼ããæ§ã ãªä½ç½®ã§ä½¿ããããã«ããã (#![feature(never_type)]
) - RFC 1268 ãã¼ã«ã¼ãã¬ã¤ãã«å¯¾ããå®è£
ãéè¤ããã®ã許ã (
#![feature(overlapping_marker_traits)]
) - RFC 1504
i128
,u128
åã®è¿½å (#![feature(i128_type)]
) - RFC 1522 åå¨åã®ããã®
impl Trait
æ§æãéå®çã«ãµãã¼ã (#![feature(conservative_impl_trait)]
, RFC 1951ã«ããæ¡å )
ã¯ãã¼ã¸ã£
- RFC 0114 ã¯ãã¼ã¸ã£ã®æ´ç: unboxed closureã®ããã®
Fn
/FnMut
/FnOnce
ãã¬ã¤ãã®å°å ¥ãproc
ã®åé¤ãã¯ãã¼ã¸ã£åãåé¤ãã¦|_| -> _
ãæ§æç³è¡£ã«å¤æ´(æ§æç³è¡£ã¯RFC 0231ã«ããå»æ¢)ããã£ããã£ã¼æ¹å¼ã®æå®ãã¬ã·ã¼ãã¢ã¼ã|:|
|&:|
|&mut :|
ã®æ示(RFC 0231ã«ããå»æ¢) - RFC 0151 ã¯ãã¼ã¸ã£ã§
ref
ãæå®ããªãéãã ã¼ããã£ããã£ã¼ãã (RFC 0231ã«ããå»æ¢) - RFC 0231 ãã£ããã£ã¼ã¢ã¼ãã®æ¨è«æ¹å¼ãå¤æ´ã
ref ||
ãå»æ¢ãã¦move ||
ãå°å ¥ã|_| -> _
åæ§æãå»æ¢ãã¬ã·ã¼ãã¢ã¼ã|:|
|&:|
|&mut :|
ãå»æ¢ - RFC 0587
Fn*
ç³»ãã¬ã¤ãã®æ»ãå¤åãåå¼æ°ã§ã¯ãªãé¢é£åã«ãã
çåæé/ããã¼ãã§ãã«ã¼/é¨ååä»ã/const/mut
- RFC 0066 ä¸æçãªå¤ã«å¯¾ããåç §ãéæ¥çã«åã£ãå ´åããç´æ¥åã£ãå ´åã¨åæ§ã«ã ã®çåæéã延é·ã§ããããã«ãã
- RFC 0107 ãã¿ã¼ã³ãããã®ã¬ã¼ãå ã§ã ã¼ãæç¸ãããå¤æ°ã使ã (æªå®è£ )
- RFC 0130 ããã¼ãã§ãã«ã¼ã«ããã
Box<T>
ã®ç¹å¥æ±ãã®å»æ¢ - RFC 0141 çåæéã®çç¥è¦åã®æ´ç
- RFC 0192 ãã¬ã¤ããªãã¸ã§ã¯ãåã®çåæé (RFC 0599, RFC 1156ãåç §)
- RFC 0246
static
ãconst
/static
ã«åå² - RFC 0387 é«éãã¬ã¤ãå¢ç
T: for<'a> Trait
ã®å°å ¥ - RFC 0533 é åã®ç¹å®è¦ç´ ããã®ã ã¼ãã¨è¦ç´ ãã¨ã®åæåãå»æ¢
- RFC 0599 ãã¬ã¤ããªãã¸ã§ã¯ãåã®çåæéã®ãå¤å´ã®åã«ãã¨ã¥ãããã©ã«ãå¤ (RFC 1156ã«ããä¸æ¸ã, RFC 0192ãåç §)
- RFC 0738 é¨ååä»ãã«ãããå¤æ§(variance)ãæ¨è«ããããã«ããå¤æ§ã®ããã®ã©ããã¼åãåé¤ãããæªä½¿ç¨ã®åå¼æ°/çåæéå¼æ°(=åå¤ bivariant ãªå¼æ°)ã¯ã¨ã©ã¼ã«ããã
- RFC 0769 ãããããã§ãã«ã¼ã®å°å
¥ã«ãããå¤ç¸åã®
Drop
ãå®å ¨ã«å®è£ ã§ããããã«ããã (RFC 1238, RFC 1327ã«ããä¸æ¸ã) - RFC 0911
const fn
ã«ããå®æ°é¢æ° - RFC 1066 safeãªããã°ã©ã ã§ããã¹ãã©ã¯ã¿ãå®è¡ãããªããã¨ããããã¨ãæè¨ãã
std::mem::forget
ã®unsafe
ãå¤ã - RFC 1156 ãã¬ã¤ããªãã¸ã§ã¯ãåã®çåæéã®ããã©ã«ãå¤ãå®ããRFC 0599ãä¸æ¸ãããé¢æ°æ¬ä½å ã§ã®base defaultã®è¦åãå¤æ´ãã (RFC 0192ãåç §)
- RFC 1238 RFC 0769ãä»®å®ãã¦ããåã®ãã©ã¡ããªã·ãã£ã¼ãç¹æ®åã«ãã£ã¦å´©ãããã¨ã念é ã«ããããããã§ãã«ã¼ã®åä½ãå®å
¨å¯ãã«åã (RFC 1327ã«ããä¸æ¸ãã
#![feature(dropck_parametricity)]
) - RFC 1327 RFC 0769ã¨RFC 1238ãä¸æ¸ããã
#[unsafe_destructor_blind_to_params]
ãããåç´°ã«ç¶æ³ãæå®ã§ãã#[may_dangle]
ãå°å ¥ (#![feature(dropck_eyepatch)]
, å©ç¨ããã«ã¯#![feature(generic_param_attrs)]
ãå¿ è¦) - RFC 1414
&42
ãªã©å®æ°åç §ã®çåæéã'static
ã«å»¶é·ãã (#![feature(rvalue_static_promotion)]
) - RFC 1440
const
/static
ã«ãã¹ãã©ã¯ã¿ãæã¤åã許å¯ãã (æªå®è£ )
ã³ã¼ãçæ/ABI
- RFC 0008
extern "rust-intrinsic"
ã®å»æ¢ (ç ´æ£) - RFC 0079
#[repr(C)]
ãªã©ã§æ示ããªãéããæ§é ä½ã¬ã¤ã¢ã¦ãã¯å ¥ãæ¿ããããå¯è½æ§ããã - RFC 0320 æ§é ä½çããdrop flagãã£ã¼ã«ããåé¤ãå¤æ°ãã¨ã®drop flagã«ç§»è¡ (RFC 0533ãåç §)
- RFC 0379 ã©ã³ã¿ã¤ã ãªãã¬ã¯ã·ã§ã³ã¨ããããç¨ãã
{:?}
ã®åé¤ãlibdebug
/Poly
ã®åé¤ ({:?}
ã¯RFC 0504ã«ãã復活) - RFC 1201 é¢æ°ãããã¼ã°ã¨ã¨ããã¼ã°ãçã
#[naked]
ã®è¿½å (#![feature(naked_functions)]
, RFC 1548ãåç §) - RFC 1240
#[repr(packed)]
ãªæ§é ä½ã®ãã£ã¼ã«ãã¸ã®åç §ã®åå¾ã¯unsafe
ã§ããã¨åã決ãã - RFC 1260
::main()
ãfn main() {}
ã§ã¯ãªãuse foo::bar as main
ã®å½¢ã§å®ç¾©ããã¦ãã¦ãã¨ã³ããªãã¤ã³ãã¨ã¿ãªã (æªå®è£ , PR 38312ãåç §) - RFC 1300
extern "rust-intrinsic"
/extern "platform-intrinsic"
ã¯å¼ã³åºãå´ã«ç´æ¥ã³ã¼ãçæããããã®ã§ãããé¢æ°ãã¤ã³ã¿åã¯ã§ããªããã¨ãæè¨ - RFC 1358 ã¢ã©ã¤ã³ã¡ã³ããæå®ãã
#[repr(align = "N")]
å±æ§ (#![feature(repr_align)]
) - RFC 1399
#[repr(packed)]
ã®ä¸è¬åã§ãã#[repr(packed = "N")]
ã®å°å ¥ (æªå®è£ , ãããã#![feature(repr_packed)]
ã«ãªã) - RFC 1444 å
±ç¨ä½
union X { .. }
(#![feature(union)]
) - RFC 1513
panic
æã«unwind(ã¹ã¿ãã¯ãå·»ãæ»ãã¦ã¹ã¬ãããçµäº)ã§ã¯ãªãabort(ãã®å ´ã§ããã°ã©ã ãçµäº)ã«ãããªãã·ã§ã³ã-C panic=abort
ã¨ãã¦å®å®åããã¦ã¼ã¶ã¼å®ç¾©ã®ãããã¯æ¦ç¥ãæä¾ã§ããããã«ãã (ã¦ã¼ã¶ã¼å®ç¾©ã®ãããã¯æ¦ç¥ã¯#![feature(panic_runtime)]
,#![feature(needs_panic_runtime)]
) - RFC 1535 æ´æ°ãªã¼ãã¼ããã¼æ¤æ»ãæå¹åããããã®ãªãã·ã§ã³ã
-C overflow-checks
ã¨ãã¦å®å®å - RFC 1548 é¢æ°å¤ã§ã·ã³ãã«ãå®ç¾©ããããã®
global_asm!()
ãã¯ã (#![feature(global_asm)]
, RFC 1201ãåç §)
ã©ã¤ãã©ãªå ¨è¬
- RFC 0040
libstd
ã®å®è£ ãlibcore
,liballoc
,liblibc
ãªã©ã®ã©ã¤ãã©ãªã«åå²ããã - RFC 0042/0007
regex
crateã®å梱 (ç¾å¨ã¯å梱ããã¦ããªã, RFC 1242ãåç §) - RFC 0050 ãããã°ã¢ã¼ãã§ã®ã¿æå¹åããã
debug_assert!()
ã®å°å ¥ - RFC 0060
StrBuf
ãString
ã«ãªãã¼ã - RFC 0093
println!
ãformat!
ããå°ååã®æ©è½ãåé¤ããæ§æãæ´ç - RFC 0100
PartialOrd::partial_cmp
ã追å - RFC 0123
Share
ãSync
ã«ãªãã¼ã - RFC 0201
std::error::Error
ãã¬ã¤ãã«ããã¨ã©ã¼ã®ç¸äºå¤æ - RFC 0216
HashMap
çã§findã®çµæãä¿æããEntry
åã®å°å ¥ - RFC 0221
fail!()
ãpanic!()
ã«ãªãã¼ã - RFC 0230 æ¨æºã©ã¤ãã©ãªããã°ãªã¼ã³ã¹ã¬ããé¢ä¿ã®é¨åãåé¤
- RFC 0235 ã³ã¬ã¯ã·ã§ã³é¢é£ã©ã¤ãã©ãªã®æ´çã¨æ
£ä¾ã®ç¢ºç«:
Cow
ãå°å ¥ãDeque
ãªã©ã®æ½è±¡åç¨ãã¬ã¤ããåé¤ãIterator
ãä¸å¿ã«ããæ çµã¿ãæ´åãå種é¢æ°ã®å½åè¦åãçµ±ä¸ (RFC 0509ã«ããä¸æ¸ã, RFC 0580ã«ãããªãã¼ã ) - RFC 0256
Gc<T>
/@T
(Rc<T>
ã¨ã¯ç°ãªãã循ç°åç §ã解æ¾ããã) ã®åé¤ - RFC 0356 ååã«ã¢ã¸ã¥ã¼ã«åãå«ããªãæ
£ç¿ãå®ç¾©ãã
io::IoError
ãio::Error
ã«ãªãã¼ã - RFC 0369
std::num
ã«ãã£ãæ§ã ãªæ½è±¡çãªæ°å¤åãã¬ã¤ãã®åé¤ (ç¾å¨ã¯Signed
ãå«ã大é¨åãåé¤ããnum
crateã«ç§»ç®¡æ¸ã¿) - RFC 0380
std::fmt
ã®å®å®å - RFC 0439
std::cmp
ã¨std::ops
ã®æ´ç: æ¼ç®åãªã¼ãã¼ãã¼ããã¬ã¤ãã®æ´çããããã¸ã§ãã¢ã¹ãªEq
,Slice
/SliceMut
ãåé¤ãã¦Range*
åãå°å ¥ãIndexSet
ã®å°å ¥ (IndexSet
ã¯å®è£ ããã¦ããªã模æ§; RFC issue #997 ãåç §) - RFC 0458
Send: 'static
ãåé¤ã&T: Send
ââT: Sync
- RFC 0461 ã¿ã¹ã¯ãã¼ã«ã«é åã®ããã®
std::local_data
ãæ´çãã¦ã¹ã¬ãããã¼ã«ã«é åã®ããã®std::tls
ãå°å ¥ (RFC 0909ã«ãããç¾å¨ã¯std::thread
ã«çµ±å) - RFC 0474
std::path
ã®æ´ç: æ£è¦åã®æå³è«ãå¤æ´ãUTF-8ã¨ã¯éããªããã¹ã®ããã«PathBuf
/OsPath
åãæ°ãã«å°å ¥ - RFC 0486
std::ascii::Ascii
åãåé¤ãã¦ascii
å¤é¨crateã«åé¢ - RFC 0494
std::c_vec
ãå»æ¢ãstd::c_str
ãstd::ffi
ã«ãªãã¼ã ãCString
ã®ææ権ã®æ±ããå¤æ´ - RFC 0503
std::prelude
ããããã¤ãã®ååãåé¤ããå®å®å - RFC 0504
Show
ãString
(ç¾å¨ã®Display
)ã¨Show
(ç¾å¨ã®Debug
)ã«åå²ããæ°ããShow
ã®ããã«{:?}
ãå²ãå½ã¦ (RFC 0565ã«ããç¾å¨ã®ååã«å¤æ´) - RFC 0509 ã³ã¬ã¯ã·ã§ã³é¢é£ã©ã¤ãã©ãªã®æ´åãRFC 0235ã®ç¶ããããã¤ãã®ã³ã¬ã¯ã·ã§ã³APIã®åé¤ãã³ã¬ã¯ã·ã§ã³APIã®å®å®åã (RFC 0580ã«ãããªãã¼ã )
- RFC 0517
std::io
ã¨std::os
ã®å¤§æ¹é©ãenv
fs
io
net
os
os_str
process
ã¸ã®åå²ãã¢ãããã¯æ§ã«é¢ããæå³è«ã®æ´çãéutf-8æååã®ãµãã¼ããããããã³ã°I/Oã«æ³¨åãã¤ã¤ããã³ããããã³ã°/éåæIOã®ããã®åæ¹äºææ§ã¯ç¢ºä¿ããããã«ããããªã© - RFC 0526 ä»»æã®ãã¤ãåãåºåã§ãã¦ãã¾ã
std::fmt::Formatter::write
é¢æ°ãåé¤ãããã¨ã§ãUTF-8ãã§ãã¯ã®ã³ã¹ããåæ¸ - RFC 0528 æååã®ãã¿ã¼ã³æ¤ç´¢ã®ããã®
Pattern
ãã¬ã¤ããå°å ¥ - RFC 0529 æ±ç¨çãªå¤æãã¬ã¤ã
AsRef
,AsMut
,Into
,From
ã®å°å ¥ - RFC 0556
from_raw*
ç³»é¢æ°ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãå¤æ´ãã誤ç¨ãé²ãããããã¥ã¡ã³ããå å®ããã - RFC 0560 æ´æ°æ¼ç®ãªã¼ãã¼ããã¼ã®æå³è«ãå¤æ´ããæ¡ä»¶æ¬¡ç¬¬ã§panicãããã¨ããããªã¼ãã¼ããã¼æã«å¸¸ã«å·¡åããããå ´åã®ããã®ã¡ã½ãã
wrapping_*
ãç¨æãã - RFC 0565
std::fmt::String
ã¨std::fmt::Show
ãDisplay
,Debug
ã«ãªãã¼ã - RFC 0574
Vec::drain
,String::drain
ããããã¡ã®ä¸é¨ã ãããã¬ã¤ã³ã§ããããã«ãã (RFC 1257ã«ããä¸æ¸ã) - RFC 0580 ã³ã¬ã¯ã·ã§ã³é¢é£ã©ã¤ãã©ãªã®ãªãã¼ã (
DList
âLinkedList
,RingBuf
âVecDeque
ãªã©) - RFC 0592
String
/str
ã«å¯¾ãã¦ãCString
ã®å¯¾å¿ç©ã§ããCStr
ãå°å ¥ãã - RFC 0640
{:#?}
ã«ããpretty printingã®å°å ¥ã¨ãDebug
ã®å®è£ ã®ããã®ãã«ãã¼åã®æ´å - RFC 0771
std::iter::once
ã¨std::iter::empty
ã®è¿½å - RFC 0823
std::hash
ã®æ´ç:Hasher
ãã¬ã¤ãã¨Writer
ãã¬ã¤ãã®çµ±ä¸write_u*
/write_i*
ã¡ã½ããã®å°å ¥ãreset
ã¡ã½ããã®åé¤ - RFC 0832
vec![e; n]
è¨æ³ã®ããã®vec::from_elem
é¢æ° (ãã®é¢æ°ã¯ç¢ºãã«è¿½å ãããç¾å¨ã¯alloc::vec::from_elem
ã§å ¬éããã¦ãããã#[doc(hidden)]
ã§é ããã¦ãã) - RFC 0839 ã©ããªã³ã¬ã¯ã·ã§ã³ã§ããè¦ç´ ã
Copy
ãªãåç §ã¤ãã¬ã¼ã¿ããextend
ã§ããããã«Extend
ãå®è£ ãã - RFC 0840
CString::from_slice
,CString::from_vec
ã¯panicããã«Result
ãè¿ã (å®éã®Rust PR #22482 ã§ã¯ããã«ãããããCString::new
ã«çµ±ä¸ãã¦ãã) - RFC 0888 ã³ã³ãã¤ã©ç¨ã®ã¡ã¢ãªãã§ã³ã¹æ令
std::intrinsics::atomic_singlethreadfence(_rel|_acq|_acqrel)?
ã追å - RFC 0909
std::thread_local
ãstd::thread
ã«çµ±å - RFC 0921 ã³ã¬ã¯ã·ã§ã³ã®
Entry
ã®get
ã¡ã½ãããor_insert
/or_insert_with
ã«ç½®ãæã - RFC 0953
+=
ãªã©è¤åä»£å ¥æ¼ç®åã®ããã®ãã¬ã¤ãAddAssign
etc. ã追å - RFC 0979
SliceExt::splitn
,StrExt::splitn
ã®n
ã®æå³ããã»ãã¬ã¼ã¿ã¼ã®æ大æ°ã§ã¯ãªãè¦ç´ ã®æ大æ°ã¨è§£éããããã«ãã - RFC 0980 è¦å®éèªãã¾ã§ç¹°ãè¿ã
Read::read_exact
ã追å - RFC 1011 ããã»ã¹ãå³åº§ã«çµäºãã
std::process::exit
(Cã®_exit
ç¸å½)ã追å - RFC 1014
std::io::stdout
,std::io::stderr
,std::io::stdin
ã¯ã対å¿ããå ¥åºåã¹ããªã¼ã ããªãã£ãå ´åã«ã¨ã©ã¼ã«ããã«ããã¼ãè¿ãããã«ãã - RFC 1030
Default
,IntoIterator
,ToOwned
ãpreludeã«è¿½å - RFC 1040
Duration
ãæ´çããä¸é¨ãå®å®å - RFC 1044
std::fs
ã§ããã©ãããã©ã¼ã ä¾åã®ãã¡ã¤ã«å±æ§ãæ±ããããã«std::os::linux::fs::MetadataExt
ã®ãããªæ¡å¼µãã¬ã¤ãã追å ãFileType
åã®è¿½å ãªã© - RFC 1047
TcpStream
,UdpSocket
ã«ãã¿ã¤ã ã¢ã¦ããè¨å®ããã¡ã½ããã追å - RFC 1048 ãã©ãããã©ã¼ã éä¾åã®
soft_link
ãå»æ¢ãã¦ããã©ãããã©ã¼ã ãã¨ã®ã·ã³ããªãã¯ãªã³ã¯ä½æé¢æ°ã®ã¿ãæä¾ãã - RFC 1054
str::words
ãå»æ¢ãã¦ãstd::split_whitespace
ã«ãªãã¼ã - RFC 1057
io::Error
ã®ã«ã¹ã¿ã ã¨ã©ã¼ãerror::Error + Send
ããerror::Error + Send + Sync
ã«ãããã¨ã§ãio::Error: Sync
ã«ãã - RFC 1058 失ææã«ãããã¯ãã
[T]::init
ã¨[T]::tail
ãå»æ¢ããOption
ãè¿ã[T]::split_last
,[T]::split_first
ã§ç½®ãæãã - RFC 1102
SliceConcatExt::connect
ããå¤ãã®ããã°ã©ãã³ã°è¨èªã¨åãå称ã§ããSliceConcatExt::join
ã«ãªãã¼ã - RFC 1119
Result::expect
ã®è¿½å - RFC 1123
str::split_at
ã®è¿½å - RFC 1131
std::intrinsics::likely
ãstd::intrinsics::unlikely
ã®è¿½å (#![feature(core_intrinsics)]
) - RFC 1135 çãã¤ã³ã¿ (
*const T
,*mut T
) ã fat-pointerã®å ´åã§ãããããã®æ¯è¼ãã§ããããã«ãã (RFCä¸ã§ã¯Eq
ã«éå®ããã¦ããããå®éã¯ä¸è¬ã®Ord
ã®é¢æ°ãåä½ããããã ) - RFC 1152
str
ã¨[T]
ã®å¯¾ç§°æ§ã®ããã«ãstr::into_string
ã¨String::into_boxed_str
ã追å - RFC 1174
IntoRawFd
,IntoRawSocket
,IntoRawHandle
ãã¬ã¤ãã追å - RFC 1194
HashSet
ãBTreeSet
ã®contains
,remove
,insert
ã®ä¸è¬å(åé¤/çºè¦ããè¦ç´ ãè¿ã)ã§ããget
,take
,replace
ã追å - RFC 1212
str::lines
,BufRead::lines
ãªã©ã®è¡å¦çé¢æ°ã®æåãå¤æ´ããLFã ãã§ã¯ãªãCRLFãæ¹è¡ã¨ãã¦æ±ãããã«ãã - RFC 1236
panic!
ã«ããunwindããã£ããããstd::thread::catch_panic
ãstd::panic::catch_unwind
ã«ãªãã¼ã ããè¦è«ãããã¬ã¤ããSend
ããæ°ããå°å ¥ããUnwindSafe
ã«å¤æ´ãããããã«ããstd::panic::catch_unwind
ãå®å®åããã (RFC 1328ãåç §) - RFC 1242
regex
,uuid
ãªã©å¤æ°ã®å梱crateã@rust-langããåé¢ã移管ãã (RFC 1291ãåç §) - RFC 1252
OpenOptions
ã®æåã®æ確åã¨ãªãã·ã§ã³ã®æ¡å - RFC 1257 RFC 0574ãæ¡å
ããã³ã¬ã¯ã·ã§ã³ã®ç¨®é¡ã«å¿ãã¦
.drain(a..b)
ã¾ãã¯.drain()
ãå®è£ ãã - RFC 1288
std::time
ãæ¡å ããInstant
,SystemTime
,Duration
ã追å ãã - RFC 1291
libc
ã @rust-lang-nurseryãã@rust-langã«ææ ¼ããã¢ã¸ã¥ã¼ã«æ§é ãæ´çãã - RFC 1307
OsString
/OsStr
ã«len
ãªã©ããã¤ãã®ã¡ã½ããã追å - RFC 1328 ãããã¯ãã³ãã©ã¼ãæå®ãã
std::panic::set_hook
,std::panic::take_hook
ã追å (RFC 1236ãåç §) - RFC 1359 Unixç³»ç¹æã®ããã»ã¹èµ·åãªãã·ã§ã³ãæå®ããããã®
CommandExt
ãã¬ã¤ãã¨ãCommandExt::exec
,CommandExt::before_exec
ã¡ã½ããã®è¿½å - RFC 1398 ã«ã¹ã¿ã ã¢ãã±ã¼ã¿ã¼ã®ããã®API (
#![feature(allocator_api)]
) - RFC 1415
std::os
å ã®ãã©ãããã©ã¼ã ä¾åã®ãã¼ã¿æ§é ãå»æ¢ãããã©ãããã©ã¼ã ä¾åã®æ©è½ã¯æ¡å¼µãã¬ã¤ãã«ããæä¾ãã - RFC 1419
memcpy
ç¸å½ã®æ©è½ãæä¾ãã[T]::copy_from_slice
- RFC 1432
Vec
,String
ã®ä¸å®ç¯å²ãã¤ãã¬ã¼ã¿ã¼ããã®å¤ã§ç½®ãæããsplice
ã¡ã½ãã (#![feature(splice)]
) - RFC 1434 å¤ãç¯å²å
ãã©ãããå¤å®ããããã®
Range::contains
etc. (#![feature(range_contains)]
) - RFC 1443
Atomic*
åã«ãcompare_and_swap
ã®ä¸è¬åã§ããcompare_and_exchange
,compare_and_exchange_weak
ã追å ãã - RFC 1461
TcpStream
,TcpListener
,UdpSocket
ã«ããã£ã¬ã¤ãTTL, IPv6, ããããã³ã°ãªã©ã®è¨å®ãããã¡ã½ãã (net2
crateã«æ¢ã«åå¨ããæ©è½) ã追å - RFC 1467
std::ptr::read_volatile
ã¨std::ptr::write_volatile
ãå®å®å - RFC 1479 Unixãã¡ã¤ã³ã½ã±ããã®ããã®
std::os::unix::net
ã¢ã¸ã¥ã¼ã«ã追å - RFC 1498
Ipv4Addr
,Ipv6Addr
ã¨[u8; N]
ã¨ã®ç¸äºå¤æé¢æ° - RFC 1521
Copy
ãªåã®clone
ã®åä½ã¯åç´ã³ãã¼ã¨ä¸è´ããªããã°ãªããªããã¨ãæè¨ - RFC 1542 失æãããããããªãå¤æã®ããã®
TryFrom
,TryInto
ãã¬ã¤ãã追å (#![feature(try_from)]
) - RFC 1543
AtomicIsize
,AtomicUsize
ã®å å¼ã«ãããAtomicI8
,AtomicU8
,AtomicI16
,AtomicU16
,AtomicI32
,AtomicU32
,AtomicI64
,AtomicU64
,AtomicI128
,AtomicU128
ã追å (#![feature(integer_atomics)]
) - RFC 1552
VecDeque
,LinkedList
ã«ããè¦ç´ ãããã調ã¹ãcontains
ã¡ã½ããã追å
ã³ã³ãã¤ã©/ãªã³ã«/Cargo
- RFC 0086 æç¶ããã¯ãã®ç»é²å¦çãä¸è¬åãã¦ãä»ã®ã³ã³ãã¤ã©ãã©ã°ã¤ã³ã®ç»é²ã«ã使ããããã«ãã
- RFC 0089 ãªã³ããã³ã³ãã¤ã©ãã©ã°ã¤ã³ã¨ãã¦è¿½å ã§ããããã«ãã
- RFC 0131 ã¿ã¼ã²ããã¢ã¼ããã¯ãã£ã¼ã®æå®ã®è¦ä»¶ãç·©ãã
- RFC 0403
cargo build
ã¨ãã¤ãã£ãã©ã¤ãã©ãªã¨ã®ç¸æ§ãè¯ããã:rustc -l
ãªãã·ã§ã³ã®è¿½å ãCargoãããã§ã¹ãã®ãã¼ã®è¿½å ãbuild.rs
ã®å°å ¥ãªã© - RFC 0404 ããã©ã«ãã§åçãªã³ã¯ãããéçãªã³ã¯ãåªå ãã
- RFC 0507 stable/beta/nightlyãªãªã¼ã¹ãã£ã³ãã«ã®å°å
¥ãå¾æ¹äºææ§ã®ããã®
#![feature]
ã®å¼·å - RFC 0563
ndebug
ã³ã³ãã£ã°ãåé¤ããdebug_assertions
ã³ã³ãã£ã°ã«ç§»è¡ - RFC 1183 ã¢ãã±ã¼ã¿ã¼ã®å®è£ (ã·ã¹ãã ã®mallocã¾ãã¯jemalloc)ããªã³ã¯æã«é¸ã¹ãããã«ããã·ã¹ãã ã®mallocãããã©ã«ãã«ãã
- RFC 1191 é«å±¤ä¸é表ç¾HIRã®å°å ¥ãASTããç´æ¥transããã«ãASTâHIRâLLVM IRã®é ã§ç¿»è¨³ãã (RFC 1211ãåç §)
- RFC 1199 SIMDãå¤é¨crateã§å®ç¾ããããã®ã³ã³ãã¤ã©å´ã®ãµãã¼ããæ´åãã (
#[repr(simd)]
ãªã©) - RFC 1200
cargo install
,cargo uninstall
ã®è¿½å - RFC 1211 ä¸å±¤ä¸é表ç¾MIRãå°å ¥ããASTâHIRâMIRâLLVM IRã®é ã§ç¿»è¨³ãã (RFC 1191ãåç §)
- RFC 1241 crates.ioã«ããã¦ã
foo = "*"
ã®ãããªã¯ã¤ã«ãã«ã¼ãä¾åé¢ä¿ããã¤crateã®ã¢ãããã¼ããç¦æ¢ - RFC 1298 ã¤ã³ã¯ãªã¡ã³ã¿ã«ã³ã³ãã¤ã«ã®ææ¡
- RFC 1317 IDEãµãã¼ãã®ããã®RLS (Rust Language Server) ã®ææ¡ (å®è£ éä¸ã§ä¸å®å®)
- RFC 1361 Cargoã«ãããã
[section.'cfg(..)']
ã«ããæ¡ä»¶ã¤ãè¨å®ãRustã®#[cfg(..)]
ã¨åãæ§æ - RFC 1510 crateå½¢å¼ã¨ãã¦ãRustã©ã¤ãã©ãªã®Cã¤ã³ã¿ã¼ãã§ã¼ã¹ãã¨ã¯ã¹ãã¼ãããããã®cdylibå½¢å¼ã追å
- RFC 1525
Cargo.toml
ãããã¸ã§ã¯ãå ã®è¤æ°crateã§å ±æããããã®workspaceæ©è½ã追å