0.3.5 • Published 1 year ago

@noctifer20/nx-cargo v0.3.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@noctifer20/nx-cargo

Fork of @nxrs/cargo with wasm-pack support

Generators

# @noctifer20/nx-cargo:bin also works
> nx generate @noctifer20/nx-cargo:app my-rust-app
> nx generate @noctifer20/nx-cargo:lib my-rust-lib
> nx generate @noctifer20/nx-cargo:wasm my-rust-wasm-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.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago