Rust

Use this guide when working on Rust changes in the FAST monorepo.

Microsoft 9ba2133 707 B Updated 2.7k repo stars

File contents

Working with the Rust crate and the Rust NodeJS CLI

The primary location for the Rust logic should exist within a crate. If the logic is made accessible in the NodeJS environment via wrapping the crate and using a wasm bindgen, as much as possible any logic that exists in Rust should not be duplicated in JavaScript/TypeScript.

Breaking changes

Understand semver and check the crate and package version. If the version is currently in a prerelease state, update the APIs with breaking changes as necessary and ensure that any generated pull request descriptions capture this.

microsoft/fast/tree/main/.github/skills/rust commit 9ba2133d7c

Frequently asked questions

npx skillmds@latest add microsoft/rust