A small project to show the current state of Rust’s various stable/unstable features

I spent a weekend to write a small project to show the current state of Rust’s various stable/unstable features (a daily job thanks to Travis CI), which helps to monitor Rust's new features.

https://github.com/mssun/state-of-rust

8 Likes

What's the data source for this? I'm not seeing impl_header_lifetime_elision, for example, though it's in master:

https://github.com/rust-lang/rust/blob/master/src/libsyntax/feature_gate.rs#L504-L506

Though I seem to also have forgotten to include that one in the The Unstable Book - The Rust Unstable Book...

Hi I wrote a regex to parse the rust source code with #[stable(feature = "into_raw_os", since = "1.4.0")] and #[unstable(feature = "n16", issue="0")].

Seems that impl_header_lifetime_elision is not in the list.

1 Like

This will generally find library features, but not language features.

1 Like

Thanks for pointing out this.

Then, how can I find all compiler features?

@mbrubeck I just added compiler features. Thanks for pointing out.

If you could also capture language RFCs that haven't gotten any implementation work yet (so no feature gate in the compiler...) that would be great.

2 Likes

Nice suggestion. Let me try to implement that.

2 Likes