| description | Use this guide when working on Rust changes in the FAST monorepo. |
| name | rust |
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.