-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.25 announcement #237
1.25 announcement #237
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Notable Cargo changes:
That's what I see in the diff at least! |
Ah thanks! A lot of this isn’t in the change log, but sounds like it should be!
… On Mar 22, 2018, at 10:55 PM, Alex Crichton ***@***.***> wrote:
Notable Cargo changes:
cargo new now defaults to binaries
Packages are no longer renamed with cargo new
cargo doc can be much faster as it's based on cargo check now
Checkouts of git dependencies should now have a nice speed boost
The first in a long saga of a better and faster crate graph resolver have landed, massively improving the experience with crate graphs in some corner cases that were extremely confusing before. Most of the improvements are coming in 1.26, though, so this may not want to be called out too much
That's what I see in the diff at least!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
_posts/2018-03-29-Rust-1.25.md
Outdated
This can reduce some repetition, and make things a bit more clear. | ||
|
||
There are two big documentation changes in this release: first, [Rust By | ||
Example is now included on doc.rust-lang.org]! We'll be redirecing the old |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/redirecing/redirecting
_posts/2018-03-29-Rust-1.25.md
Outdated
|
||
Second, back in Rust 1.23, we talked about the change from Hoedown to | ||
pulldown-cmark. In Rust 1.25, pulldown-cmark is now the default rendering. | ||
After years, we have finally removed the last bit of C from rustdoc, and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be correct, but "After years" sounds a little odd -- maybe remove entirely? I can't think of what would go well there...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, if you think it is. idk.
_posts/2018-03-29-Rust-1.25.md
Outdated
of your `struct`s: | ||
|
||
```rust | ||
struct NotAligned(i32); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Er, this is by-default aligned I think? It's just aligned in a somewhat unspecified (not sure on this. might be specified) way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah good point, it's not specifically aligned, or like, compiler chooses how to align it. hrm.
I am not sure what to rename the |
_posts/2018-03-29-Rust-1.25.md
Outdated
|
||
Many users love `cargo doc`, a way to generate local documentation for their | ||
Cargo projects. [It's getting a huge speed | ||
bump](https://github.com/rust-lang/cargo/pull/5013) in this release, as now, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link is incorrect.
_posts/2018-03-29-Rust-1.25.md
Outdated
`libcore` has [gained a `time` module](https://doc.rust-lang.org/core/time/), | ||
containing the `Duration` type previously only available in `libstd`. | ||
|
||
Additionally, the `new`, `from_secs`, `from_milis`, `from_micros`, and `from_nanos` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from_micros
and from_nanos
are unstable. Does it make sense to mention them here if you can't use them on stable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i didn't realize this; it was in the changelog
This is the first chunk of the 1.25 release notes; I'm going to finish it tomorrow, but in the interest of giving people as much time to review as possible, here's the first half.