Skip to content

Instantly share code, notes, and snippets.

@zaddach
zaddach / vcpkg_rust_latest.py
Created April 19, 2023 09:50
Script for generating current rust package descriptions for vcpkg package vcpkg-rust
import argparse
import tomli
import requests
import hashlib
STABLE_CHANNEL_MANIFEST_URL = "https://static.rust-lang.org/dist/channel-rust-stable.toml"
ARCHITECTURES = [
"i686-pc-windows-msvc",
"x86_64-pc-windows-msvc",