
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
@monodon/rust
Advanced tools
A Nx plugin that adds support for Cargo and Rust in your Nx workspace.
A Nx plugin that adds support for Cargo and Rust in your Nx workspace.
@monodon/rust | nx |
---|---|
<=1.2.1 | <=17.1.0 |
>=1.3.0 | >=17.1.0 |
The following tools need to be installed on your system to take full advantage of @monodon/rust
npx create-nx-workspace
presetTo bootstrap a new workspace with @monodon/rust
installed and ready, run:
npx create-nx-workspace --preset=@monodon/rust
Use your favourite package manager to install in your project:
yarn add -D @monodon/rust
npm install -D @monodon/rust
pnpm add -D @monodon/rust
After installing, you can run any of the project generators (binary, library) to have @monodon/rust set up Cargo in your workspace.
Use Nx Console to see the full list of options for each generator.
@monodon/rust:binary
Creates a Rust binary application to be run independently.
Create a new binary:
nx generate @monodon/rust:binary my-rust-app
@monodon/rust:library
Creates a Rust library that can be used in binaries, or compiled to be used for napi.
Create a new library:
nx generate @monodon/rust:library my-rust-lib
Create a new library with napi:
nx generate @monodon/rust:library my-rust-node-lib --napi
Generating a library with the --napi
flag will set up the project to be built with it.
All the executors support these additional properties:
--toolchain='stable' | 'beta' | 'nightly'
);
stable
by default--target=aarch64-apple-darwin
);--profile=dev
)
--features=bmp
)
@monodon/rust:build
Runs cargo to build the project
Not supported with napi
@monodon/rust:lint
Runs cargo clippy to lint the project
@monodon/rust:napi
Runs the napi cli to build the project
@monodon/rust:run
Runs cargo run
for the project
Not supported with napi
@monodon/rust:test
Runs cargo test
for the project
FAQs
A Nx plugin that adds support for Cargo and Rust in your Nx workspace.
The npm package @monodon/rust receives a total of 14,877 weekly downloads. As such, @monodon/rust popularity was classified as popular.
We found that @monodon/rust demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.