Skip to content
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

Replace yaml with toml front matter #1508

Merged
merged 5 commits into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
69 changes: 51 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ lazy_static = "=1.5.0"
serde = "=1.0.218"
serde_derive = "=1.0.218"
serde_json = "=1.0.140"
serde_yaml = "=0.9.34-deprecated"
comrak = { version = "=0.36.0", features = ["bon"] }
rayon = "=1.10.0"
regex = "=1.11.1"
sass-rs = "=0.2.2"
chrono = "=0.4.40"
tera = "=1.20.0"
toml = "=0.8.20"

[workspace]
members = ["serve"]
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ something big, please open an issue before working on it, so we can make sure
that it's something that will eventually be accepted.

When writing a new blog post, keep in mind the file headers:
```
---
layout: post
title: Title of the blog post
author: Blog post author (or on behalf of which team)
release: true (to be only used for official posts about Rust releases announcements)
---
```md
+++
layout = "post"
title = "Title of the blog post"
author = "Blog post author (or on behalf of which team)"
release = true # (to be only used for official posts about Rust releases announcements)
+++
```

### Snapshot testing
Expand Down
12 changes: 6 additions & 6 deletions posts/2014-09-15-Rust-1.0.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Road to Rust 1.0"
author: Niko Matsakis
description: "Rust 1.0 is on its way! We have nailed down a concrete list of features and are hard at work on implementing them."
---
+++
layout = "post"
title = "Road to Rust 1.0"
author = "Niko Matsakis"
description = "Rust 1.0 is on its way! We have nailed down a concrete list of features and are hard at work on implementing them."
+++

Rust 1.0 is on its way! We have nailed down a concrete list of
features and are hard at work on implementing them. We plan to ship
Expand Down
12 changes: 6 additions & 6 deletions posts/2014-10-30-Stability.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Stability as a Deliverable"
author: Aaron Turon and Niko Matsakis
description: "The upcoming Rust 1.0 release means a lot, but most fundamentally it is a commitment to stability, alongside our long-running commitment to safety."
---
+++
layout = "post"
title = "Stability as a Deliverable"
author = "Aaron Turon and Niko Matsakis"
description = "The upcoming Rust 1.0 release means a lot, but most fundamentally it is a commitment to stability, alongside our long-running commitment to safety."
+++

The upcoming Rust 1.0 release means
[a lot](https://blog.rust-lang.org/2014/09/15/Rust-1.0.html), but most
Expand Down
12 changes: 6 additions & 6 deletions posts/2014-11-20-Cargo.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Cargo: Rust's community crate host"
author: Alex Crichton
description: "Today it is my pleasure to announce that crates.io is online and ready for action."
---
+++
layout = "post"
title = "Cargo: Rust's community crate host"
author = "Alex Crichton"
description = "Today it is my pleasure to announce that crates.io is online and ready for action."
+++

Today it is my pleasure to announce that [crates.io](https://crates.io/) is
online and ready for action. The site is a central location to
Expand Down
12 changes: 6 additions & 6 deletions posts/2014-12-12-1.0-Timeline.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Rust 1.0: Scheduling the trains"
author: Aaron Turon
description: "As 2014 is drawing to a close, it's time to begin the Rust 1.0 release cycle!"
---
+++
layout = "post"
title = "Rust 1.0: Scheduling the trains"
author = "Aaron Turon"
description = "As 2014 is drawing to a close, it's time to begin the Rust 1.0 release cycle!"
+++

As 2014 is drawing to a close, it's time to begin the Rust 1.0 release cycle!

Expand Down
12 changes: 6 additions & 6 deletions posts/2014-12-12-Core-Team.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: Yehuda Katz and Steve Klabnik are joining the Rust Core Team
author: Niko Matsakis
description: "I'm pleased to announce that Yehuda Katz and Steve Klabnik are joining the Rust core team."
---
+++
layout = "post"
title = "Yehuda Katz and Steve Klabnik are joining the Rust Core Team"
author = "Niko Matsakis"
description = "I'm pleased to announce that Yehuda Katz and Steve Klabnik are joining the Rust core team."
+++

I'm pleased to announce that Yehuda Katz and Steve Klabnik are joining
the [Rust core team]. Both of them are not only active and engaged
Expand Down
10 changes: 5 additions & 5 deletions posts/2015-01-09-Rust-1.0-alpha.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: post
title: "Announcing Rust 1.0 Alpha"
author: The Rust Core Team
---
+++
layout = "post"
title = "Announcing Rust 1.0 Alpha"
author = "The Rust Core Team"
+++

Today, we're excited to [release](https://www.rust-lang.org/install.html) the alpha version of Rust 1.0, a systems programming language with a focus on safety, performance and concurrency.

Expand Down
10 changes: 5 additions & 5 deletions posts/2015-02-13-Final-1.0-timeline.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: post
title: "Rust 1.0: status report and final timeline"
author: The Rust Core Team
---
+++
layout = "post"
title = "Rust 1.0: status report and final timeline"
author = "The Rust Core Team"
+++

It's been five weeks since we released Rust 1.0-alpha! Before this
release cycle finishes next week, we want to give a status report and
Expand Down
12 changes: 6 additions & 6 deletions posts/2015-02-20-Rust-1.0-alpha2.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Announcing Rust 1.0.0.alpha.2"
author: Steve Klabnik
description: "Rust 1.0.0.alpha.2 has been released."
---
+++
layout = "post"
title = "Announcing Rust 1.0.0.alpha.2"
author = "Steve Klabnik"
description = "Rust 1.0.0.alpha.2 has been released."
+++

Today, we are happy to announce the release of Rust 1.0.0.alpha.2! Rust is a
systems programming language pursuing the trifecta: safe, fast, and concurrent.
Expand Down
10 changes: 5 additions & 5 deletions posts/2015-04-03-Rust-1.0-beta.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: post
title: "Announcing Rust 1.0 Beta"
author: The Rust Core Team
---
+++
layout = "post"
title = "Announcing Rust 1.0 Beta"
author = "The Rust Core Team"
+++

Today we are excited to announce the [release of Rust 1.0 beta][ru]!
The beta release marks a very significant "state transition" in the
Expand Down
12 changes: 6 additions & 6 deletions posts/2015-04-10-Fearless-Concurrency.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Fearless Concurrency with Rust"
author: Aaron Turon
description: "Rust's vision for concurrency"
---
+++
layout = "post"
title = "Fearless Concurrency with Rust"
author = "Aaron Turon"
description = "Rust's vision for concurrency"
+++

The Rust project was initiated to solve two thorny problems:

Expand Down
12 changes: 6 additions & 6 deletions posts/2015-04-17-Enums-match-mutation-and-moves.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Mixing matching, mutation, and moves in Rust"
author: Felix S. Klock II
description: "A tour of matching and enums in Rust."
---
+++
layout = "post"
title = "Mixing matching, mutation, and moves in Rust"
author = "Felix S. Klock II"
description = "A tour of matching and enums in Rust."
+++

One of the primary goals of the Rust project is to enable safe systems
programming. Systems programming usually implies imperative
Expand Down
12 changes: 6 additions & 6 deletions posts/2015-04-24-Rust-Once-Run-Everywhere.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Rust Once, Run Everywhere"
author: Alex Crichton
description: "Zero-cost and safe FFI in Rust"
---
+++
layout = "post"
title = "Rust Once, Run Everywhere"
author = "Alex Crichton"
description = "Zero-cost and safe FFI in Rust"
+++

Rust's quest for world domination was never destined to happen overnight, so
Rust needs to be able to interoperate with the existing world just as easily as
Expand Down
12 changes: 6 additions & 6 deletions posts/2015-05-11-traits.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Abstraction without overhead: traits in Rust"
author: Aaron Turon
description: "The vision of Rust's traits for zero-cost abstraction"
---
+++
layout = "post"
title = "Abstraction without overhead: traits in Rust"
author = "Aaron Turon"
description = "The vision of Rust's traits for zero-cost abstraction"
+++

[Previous posts][fearless] have covered two pillars of Rust's design:

Expand Down
12 changes: 6 additions & 6 deletions posts/2015-05-15-Rust-1.0.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Announcing Rust 1.0"
author: The Rust Core Team
release: true
---
+++
layout = "post"
title = "Announcing Rust 1.0"
author = "The Rust Core Team"
release = true
+++

Today we are very proud to announce the
[1.0 release of Rust][relnotes], a new programming language aiming to
Expand Down
12 changes: 6 additions & 6 deletions posts/2015-06-25-Rust-1.1.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Rust 1.1 stable, the Community Subteam, and RustCamp"
author: The Rust Core Team
release: true
---
+++
layout = "post"
title = "Rust 1.1 stable, the Community Subteam, and RustCamp"
author = "The Rust Core Team"
release = true
+++

We're happy to announce the completion of the first release cycle after Rust
1.0: today we are [releasing][install] Rust 1.1 stable, as well as 1.2 beta.
Expand Down
Loading