Skip to content

Instantly share code, notes, and snippets.

View elenakrittik's full-sized avatar

lena elenakrittik

  • The Tigers Den
  • 20:13 (UTC +03:00)
View GitHub Profile
@elenakrittik
elenakrittik / snippet.rs
Last active November 19, 2023 13:33
Snippet
// Dependencies: `versions` (for the `Versioning` struct), `ahash` (for `AHashMap`).
// A mapping of "major.minor" to a struct representing "major.minor[.patch]"
let mut latest_versions: AHashMap<&str, Versioning> = AHashMap::new();
// Not the code i am proud of, i must admit, but at least it works.
// For each Godot version fetched from tuxfamily
for godot_version in VERSIONS {
for stable_godot_version in &STABLES {
@elenakrittik
elenakrittik / CRATES_MIRROR.md
Last active November 19, 2023 13:43
crates.io mirror using ROMT as of 12 April, 2022

This gist is intended to loosely describe what to expect when you want to mirror crates.io (in particulair, using romt)

This is written on 12 of April, 2022

  • crates.io has 80,843 crates
  • Download size is ~70GB
  • Download lasted for about 6 hours

The command i have used for downloading crates.io: