0.6.11 • Published 10 months ago

@esmilis/cargo v0.6.11

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@esmilis/cargo

npm version

This is a WIP plugin for @nrwl/nx adding support for Rust applications and libraries.

Generators

# @nxrs/cargo:bin also works
> nx generate @esmilis/cargo:app my-rust-app
> nx generate @esmilis/cargo:lib my-rust-lib

Executors

# Build a library or binary
> nx build my-rust-app

# Run unit tests in a library
> nx test my-rust-lib

# Check a Rust project with `clippy`
> nx lint my-rust-app
# Don't fail on warnings:
> nx lint my-rust-app --fail-on-warnings false

Options

The executors accept most of the same CLI args as the corresponding cargo commands. When in doubt, run with the --help flag to see all options with descriptions:

> nx build my-rust-app --help
0.6.11

10 months ago

0.6.10

10 months ago

0.6.9

10 months ago

0.6.8

10 months ago

0.6.7

10 months ago

0.6.4

10 months ago

0.6.3

10 months ago

0.6.2

10 months ago

0.6.1

10 months ago

0.5.3

10 months ago

0.5.2

10 months ago

0.5.1

10 months ago

0.5.0-nx

10 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.3.4

11 months ago