Agent skill

Fastly Compute Rust Edition2024 Fix

by divinevideo in divinevideo/divine-mobile

Fix Fastly Compute Rust build failures caused by edition2024 dependencies.

MPL-2.0Auto-check passedDevelopment

Install Fastly Compute Rust Edition2024 Fix

skills CLI
$ npx skills add divinevideo/divine-mobile --skill fastly-compute-rust-edition2024-fix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install divinevideo/divine-mobile fastly-compute-rust-edition2024-fix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/fastly-compute-rust-edition2024-fix .claude/skills/fastly-compute-rust-edition2024-fix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fastly-compute-rust-edition2024-fix
GitHub stars
266
Token cost
~687 tokens
SKILL.md length
175 words
Files
1
Skills in repo
103
Repo updated
First seen
Licence
MPL-2.0

At a glance

Fix Fastly Compute Rust build failures caused by edition2024 dependencies.

  • Cargo build fails with feature edition2024 is required
  • SKILL.md covers Problem, Context / Trigger Conditions, Solution and Verification, plus 3 more sections
  • Calls cargo
  • Wasip2 crates fail to download/parse

What it does

Fastly Compute Rust Edition2024 Fix is an agent skill from divinevideo/divine-mobile. Fix Fastly Compute Rust build failures caused by edition2024 dependencies. Use when: (1) cargo build fails with "feature edition2024 is required", (2) wit-bindgen or wasip2 crates fail to download/parse, (3) Fastly SDK pulls in incompatible transitive dependencies, (4) Build worked before but fails after dependency update. Solves by pinning wit-bindgen, wasip2, and related crates to pre-edition2024 versions.

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Dependency management. It works with Rust and WebAssembly. The licence is MPL-2.0.

When your agent uses it

  • Cargo build fails with feature edition2024 is required
  • Wasip2 crates fail to download/parse
  • Fastly SDK pulls in incompatible transitive dependencies
  • Build worked before but fails after dependency update

Example prompts

  • “feature edition2024 is required”
  • “/fastly-compute-rust-edition2024-fix”

What it can do on your machine

Read from SKILL.md and the folder at commit c3d6f7e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.fastly.com
    • doc.rust-lang.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fastly Compute Rust Edition2024 Fix loads about 687 tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 175 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~687

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from divinevideo/divine-mobile at commit c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 175 words, ~687 tokens.

Download SKILL.mdSave it as .claude/skills/fastly-compute-rust-edition2024-fix/SKILL.md (or your agent's skills folder).
name
fastly-compute-rust-edition2024-fix
description
Fix Fastly Compute Rust build failures caused by edition2024 dependencies. Use when: (1) cargo build fails with "feature `edition2024` is required", (2) wit-bindgen or wasip2 crates fail to download/parse, (3) Fastly SDK pulls in incompatible transitive dependencies, (4) Build worked before but fails after dependency update. Solves by pinning wit-bindgen, wasip2, and related crates to pre-edition2024 versions.
author
Claude Code
version
1.0.0
date
2026-01-20

Fastly Compute Rust Edition2024 Dependency Fix

Problem

Fastly Compute Rust projects fail to build with errors about edition2024 being required, even when using stable Rust. The error appears when transitive dependencies (especially wit-bindgen 0.51+ and wasip2 1.0.2+) require Rust 1.87+ which isn't stable yet.

Context / Trigger Conditions

  • Error: feature 'edition2024' is required
  • Error: failed to parse manifest at .../wit-bindgen-0.51.0/Cargo.toml
  • Error mentions "requires Rust 1.87.0" for wit-bindgen or wasip2
  • Build previously worked but fails after running cargo update
  • Using Fastly SDK (fastly crate) version 0.11.x

Solution

Pin the problematic transitive dependencies in your Cargo.toml:

toml
[dependencies]
# Fastly Compute SDK - pin to specific version
fastly = "=0.11.12"

# Pin these to avoid edition2024 requirement
wit-bindgen = "=0.46.0"
wasip2 = "=1.0.1"

# Also pin these if you use k256 or crypto
k256 = { version = "=0.13.3", features = ["schnorr"] }
base64ct = "=1.6.0"

Also update rust-toolchain.toml to include both WASM targets:

toml
[toolchain]
channel = "1.83.0"
targets = ["wasm32-wasi", "wasm32-wasip1"]

Then:

bash
rm Cargo.lock
rustup target add wasm32-wasip1
cargo build --target wasm32-wasi

Verification

Build should complete without edition2024 errors:

bash
cargo build --target wasm32-wasi 2>&1 | grep -i "edition2024"
# Should return nothing (no matches)

Example

Before fix (Cargo.toml):

toml
[dependencies]
fastly = "0.11"  # Allows 0.11.x which pulls wit-bindgen 0.51+

After fix (Cargo.toml):

toml
[dependencies]
fastly = "=0.11.12"
wit-bindgen = "=0.46.0"
wasip2 = "=1.0.1"

Notes

  • The = prefix in version strings means "exactly this version"
  • Fastly CLI 13.x switched from wasm32-wasi to wasm32-wasip1 target
  • This is a temporary fix until Rust 1.87 becomes stable
  • The warning about wasm32-wasi being renamed to wasm32-wasip1 is expected
  • When Rust 1.87 is stable, these pins can be removed

References

© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/fastly-compute-rust-edition2024-fix of divinevideo/divine-mobile.

Open the folder on GitHubat commit c3d6f7e

Compare with similar skills

Fastly Compute Rust Edition2024 Fix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fastly Compute Rust Edition2024 Fix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fastly Compute Rust Edition2024 Fix this skilldivinevideo/divine-mobile266—~687Automated safety check: PassMPL-2.0
Pnpm Engineteambit/bit18k—~1.9kAutomated safety check: PassCustom licence
Dependency UpdaterAsvarox/allkaraoke2614 repos~3.5kAutomated safety check: PassMIT
Uv Package ManagerYikai-Liao/symusic18916 repos~4kAutomated safety check: NotesMIT
Managing Cargo Dependencieshashintel/hash1.7k—~1.2kAutomated safety check: PassAGPL-3.0
Next Python Stdlib Upgrade PickerRustPython/RustPython22k—~257Automated safety check: PassMIT

Similar skills

  • Pnpm Engine

    teambit/bit

    Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dependency Updater

    Asvarox/allkaraoke

    Smart dependency management for any language. An agent skill from Asvarox/allkaraoke.

    261 GitHub starsUsed in 4 repos~3.5k tokens
    DevelopmentAuto-check passed
  • Uv Package Manager

    Yikai-Liao/symusic

    Master the uv package manager for fast Python dependency management, virtual environments, and modern Python project workflows.

    189 GitHub starsUsed in 16 repos~4k tokens
    DevelopmentAuto-check: notes
  • Cargo.toml dependency management patterns for HASH workspace.

    1.7k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Picks the next CPython standard library module ready for a RustPython upgrade, skipping modules that already have an open upgrade pull request.

    22k GitHub stars~257 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Style Checker

    noumena-labs/Sipp

    Enforces this monorepo's coding style rules by inspecting git diffs, reading .agents/skills/style-checker/references/styleguidance.md, fixing style violations, and reporting the result.

    121 GitHub stars~1.4k tokensUpdated 21 days ago
    DevelopmentAuto-check passed

More from divinevideo/divine-mobile

All 103 skills in this repo
  • Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".

    266 GitHub stars~931 tokensUpdated yesterday
    Auto-check passed
  • Art Direct

    divinevideo/divine-mobile

    Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.

    266 GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Async Await Null Race Condition

    divinevideo/divine-mobile

    Fix "Null check operator used on a null value" errors when an object is set to null during an async await.

    266 GitHub stars~881 tokensUpdated yesterday
    Auto-check passed
  • AWS V4 Signing Custom Headers Gcs

    divinevideo/divine-mobile

    Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.

    266 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Bash Herestring Newline Secrets

    divinevideo/divine-mobile

    Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.

    266 GitHub stars~791 tokensUpdated yesterday
    Auto-check passed
  • Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).

    266 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Fastly Compute Rust Edition2024 Fix

What does Fastly Compute Rust Edition2024 Fix do?

Fix Fastly Compute Rust build failures caused by edition2024 dependencies. Fastly Compute Rust Edition2024 Fix is an agent skill from divinevideo/divine-mobile. Fix Fastly Compute Rust build failures caused by edition2024 dependencies.

When should I use Fastly Compute Rust Edition2024 Fix?

Fastly Compute Rust Edition2024 Fix fits situations like: cargo build fails with feature edition2024 is required; wasip2 crates fail to download/parse; fastly SDK pulls in incompatible transitive dependencies; build worked before but fails after dependency update.

How do I install Fastly Compute Rust Edition2024 Fix in Claude Code?

Run `npx skills add divinevideo/divine-mobile --skill fastly-compute-rust-edition2024-fix -a claude-code`. Or copy the skill folder (.agents/skills/fastly-compute-rust-edition2024-fix in divinevideo/divine-mobile) into .claude/skills/fastly-compute-rust-edition2024-fix in your project. Claude Code loads it when a task matches its description.

How do I install Fastly Compute Rust Edition2024 Fix in Codex?

Run `npx skills add divinevideo/divine-mobile --skill fastly-compute-rust-edition2024-fix -a codex`. Or copy the skill folder (.agents/skills/fastly-compute-rust-edition2024-fix in divinevideo/divine-mobile) into .agents/skills/fastly-compute-rust-edition2024-fix in your project. Codex loads it when a task matches its description.

Can I use Fastly Compute Rust Edition2024 Fix in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill fastly-compute-rust-edition2024-fix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fastly-compute-rust-edition2024-fix, .gemini/skills/fastly-compute-rust-edition2024-fix, .github/skills/fastly-compute-rust-edition2024-fix and .opencode/skills/fastly-compute-rust-edition2024-fix in your project.

What does Fastly Compute Rust Edition2024 Fix need to run?

Going by SKILL.md and its folder, Fastly Compute Rust Edition2024 Fix needs the command-line tools its instructions call (cargo).

Does Fastly Compute Rust Edition2024 Fix access the network?

SKILL.md names 2 domains. As links in the text: docs.fastly.com and doc.rust-lang.org. This is read from the text; nothing was executed.

Is Fastly Compute Rust Edition2024 Fix safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fastly Compute Rust Edition2024 Fix use?

Fastly Compute Rust Edition2024 Fix is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fastly Compute Rust Edition2024 Fix use?

About 687 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fastly Compute Rust Edition2024 Fix?

Skills that share tags, products or a category with Fastly Compute Rust Edition2024 Fix: Pnpm Engine (teambit/bit, 18k stars), Dependency Updater (Asvarox/allkaraoke, 261 stars), Uv Package Manager (Yikai-Liao/symusic, 189 stars) and Managing Cargo Dependencies (hashintel/hash, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fastly Compute Rust Edition2024 Fix?

divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 10, 2026.

Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.