Skip to content

rust-lang/blog.rust-lang.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ChrisDentondavidtwcoCleanCut
Feb 9, 2024
b34e7fe · Feb 9, 2024
Jan 31, 2024
Feb 9, 2024
Feb 2, 2024
Jan 18, 2024
Dec 12, 2023
Jan 11, 2024
May 15, 2020
Dec 6, 2018
Mar 12, 2018
Feb 2, 2024
Jan 31, 2024
Dec 6, 2018
Dec 6, 2018
Oct 13, 2023
Mar 31, 2020

The Rust blog

CI

This is the blog of the Rust Programming Language.

It's implemented as a small static site generator, that's deployed to GitHub Pages via GitHub Actions.

Building

To build the site locally:

> git clone https://github.com/rust-lang/blog.rust-lang.org
> cd blog.rust-lang.org
> cargo run

You could do it in release mode if you'd like, but it's pretty fast in debug.

From there, the generated HTML will be in a site directory. Open site/index.html in your web browser to view the site.

> firefox site/index.html

You can also run a server, if you need to preview your changes on a different machine:

> cargo run -p serve
Serving on: http://192.168.123.45:8000

Contributing

First of all, thank you!

Like everything in Rust, the blog is licensed MIT/Apache 2.0. See the two LICENSE-* files for more details. We're also governed by the Rust Code of Conduct, see CODE_OF_CONDUCT.md for more.

Please send pull requests to the master branch. If you're trying to do 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)
---

About

Home of the Rust and Inside Rust blogs

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Security policy

Stars

Watchers

Forks