Skip to content

Instantly share code, notes, and snippets.

Cargo Changelog: 1.91 → 1.94

Cargo 1.91 (2025-10-30)

Added

Changed

  • ❗️ cargo publish no longer keeps .crate tarballs as final artifacts when build.build-dir is set (oversight fix; use cargo package instead). #15910

Rust 1.91.0 → 1.94.0 Complete Changelog

Rust 1.91.0 (October 30, 2025)

Highlights

  • aarch64-pc-windows-msvc promoted to Tier 1 — full test suite + prebuilt binaries
  • LLVM 21 update
  • build.build-dir stabilized in Cargo — control intermediate artifact location
  • --target accepts "host-tuple" — auto-resolves to host triple
@ashi009
ashi009 / report.html
Created March 27, 2026 14:37
Claude Code Insights: Rust Compile Time Optimization
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Claude Code Insights</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #f8fafc; color: #334155; line-height: 1.65; padding: 48px 24px; }
.container { max-width: 800px; margin: 0 auto; }
[custom]
;外部配置文件:ACL4SSR 分组结构 + QuixoticHeart 规则集
;基于用户要求:分组和规则都在 Profile 中,Base 仅保留基础配置
;指定基础模板
clash_rule_base=https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GeneralClashConfig.yml
rename=\(?((x|X)?(\d+)(\.?\d+)?)((\s?倍率?)|(x|X))\)?@$1x
remove_old_emoji=true
@ashi009
ashi009 / strip-meta.sh
Last active August 14, 2019 11:27
Strip metadata from k8s resources json (as a workaround for https://github.com/kubernetes/kubernetes/issues/24855)
#!/bin/bash
jq '
del(.items[]?.status) |
del(.items[]?.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |
del(.items[]?.metadata.annotations."ingress.kubernetes.io/backends") |
del(.items[]?.metadata.annotations."ingress.kubernetes.io/https-forwarding-rule") |
del(.items[]?.metadata.annotations."ingress.kubernetes.io/https-target-proxy") |
del(.items[]?.metadata.annotations."ingress.kubernetes.io/url-map") |
del(.items[]?.metadata.creationTimestamp) |
@ashi009
ashi009 / strip-meta.sh
Created August 14, 2019 09:57
Strip metadata from k8s resources json (as a workaround for https://github.com/kubernetes/kubernetes/issues/24855)
#!/bin/bash
jq '
del(.items[].status) |
del(.items[].metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |
del(.items[].metadata.annotations."ingress.kubernetes.io/backends") |
del(.items[].metadata.annotations."ingress.kubernetes.io/https-forwarding-rule") |
del(.items[].metadata.annotations."ingress.kubernetes.io/https-target-proxy") |
del(.items[].metadata.annotations."ingress.kubernetes.io/url-map") |
del(.items[].metadata.creationTimestamp) |
@ashi009
ashi009 / strip-meta.sh
Created August 14, 2019 09:57
Strip metadata from k8s resources json
#!/bin/bash
jq '
del(.items[].status) |
del(.items[].metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |
del(.items[].metadata.annotations."ingress.kubernetes.io/backends") |
del(.items[].metadata.annotations."ingress.kubernetes.io/https-forwarding-rule") |
del(.items[].metadata.annotations."ingress.kubernetes.io/https-target-proxy") |
del(.items[].metadata.annotations."ingress.kubernetes.io/url-map") |
del(.items[].metadata.creationTimestamp) |
genrule(
name = "readme",
srcs = ["@com_github_ashi009_bazel_repo_rule_test//:README.md"],
outs = ["readme"],
cmd = "cat $(location @com_github_ashi009_bazel_repo_rule_test//:README.md) | tee $@",
)
@ashi009
ashi009 / Makefile
Created May 22, 2014 03:09
express crc32 benchmark
all:
@./run 128 res-size
@./run 512 res-size
@./run 1024 res-size
@./run 2048 res-size
@./run 4096 res-size
@./run 16384 res-size
@./run 65536 res-size
@echo
@ashi009
ashi009 / demo.html
Last active August 29, 2015 13:56
htc script based placeholder polyfill for IE9
<html>
<head>
<link href="placeholder-fix.css" rel="stylesheet">
</head>
<body>
<div class="Control">
<input type="text" placeholder="123">
</div>
</body>
</html>