Skip to content

Instantly share code, notes, and snippets.

Rust 2021: lowering barriers

First, thanks for a great year, and there's a lot of great stuff in the works too.

Compiler

There have been a couple of great calls for making the Compiler more approachable from the contribution POV. That's great, I endorse that 100%.

I'd also like to point out (as has been noted before) that nightly usage is down because you all have stabilized a lot of things. That's great but it makes stable less stable. I'm not confident in any solution. Part of me thinks it'd be great for people to be able to contribute results from private results to crater somehow.

@samsieber
samsieber / export-files-job.yaml
Last active June 9, 2021 03:09 — forked from atheiman/export-files-job.yaml
Generate job artifacts in an initContainer and export the files to workstation afterwards.
# Allows copying of job files to local after execution. Example copy command:
apiVersion: batch/v1
kind: Job
metadata:
name: export-files-job
spec:
template:
metadata:
labels:
@samsieber
samsieber / example_api.rs
Created February 4, 2019 13:56
Built with darling
#[derive(Debug, JsonEndpoint)]
#[jupiter(
url = "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}/values/{range}:append",
method = "POST",
ty = "self::append::AppendValuesResponse"
)]
pub struct AppendToRangeEndpoint {
spreadsheet_id: String,
range: String,
#[derive(Debug, JsonEndpoint)]
#[jupiter(
url = "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}/values/{range}:append",
method = "POST",
ty = "self::append::AppendValuesResponse"
)]
pub struct AppendToRangeEndpoint {
spreadsheet_id: String,
range: String,

Keybase proof

I hereby claim:

  • I am samsieber on github.
  • I am ssieber (https://keybase.io/ssieber) on keybase.
  • I have a public key whose fingerprint is 8640 ECE3 E65F 9B0A 99ED 9D32 B921 E2BB AEE7 92AE

To claim this, I am signing this object: