{"_id":"@abbudao/nx-rust","_rev":"3-f06584f88af6f980e87a06ba419679e6","name":"@abbudao/nx-rust","dist-tags":{"latest":"1.2.4"},"versions":{"1.2.1":{"name":"@abbudao/nx-rust","version":"1.2.1","main":"./src/index.js","repository":{"url":"git+https://github.com/abbudao/monodon.git","type":"git"},"license":"MIT","private":false,"generators":"./generators.json","executors":"./executors.json","dependencies":{"@ltd/j-toml":"1.38.0","@nx/devkit":"^16.7.4","@nx/js":"^16.7.4","chalk":"^4.1.2"},"type":"commonjs","types":"./src/index.d.ts","gitHead":"f794511e1e77e8380ab9ac5c207914e46654e51a","description":"A Nx plugin that adds support for Cargo and Rust in your Nx workspace. Forked from https://github.com/Cammisuli/monodon.","bugs":{"url":"https://github.com/abbudao/monodon/issues"},"homepage":"https://github.com/abbudao/monodon#readme","_id":"@abbudao/nx-rust@1.2.1","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-D9I55ZPXc1ZUY0d52Hac8cZt/1YlH6/5O+tMrCI9/7cxgrYpj7IUpmFIYP4he8+ZsNSeFHYeo4KTv8K8ocLurg==","shasum":"52eacd5667f758827aca1b30b90e1853ada7c16b","tarball":"https://registry.npmjs.org/@abbudao/nx-rust/-/nx-rust-1.2.1.tgz","fileCount":122,"unpackedSize":125966,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYd39znSDZZibrm1Uo/0A7CIDjCuvJyrq5COhC6RQKpgIgFcMFRqNDxY4rm5tmz5/CpfuilNYYZ0xeMooN9cJqygo="}]},"_npmUser":{"name":"abbudao","email":"abbudao@gmail.com"},"directories":{},"maintainers":[{"name":"abbudao","email":"abbudao@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-rust_1.2.1_1693911753595_0.9036718145590608"},"_hasShrinkwrap":false},"1.2.2":{"name":"@abbudao/nx-rust","version":"1.2.2","main":"./src/index.js","repository":{"url":"git+https://github.com/cammisuli/monodon.git","type":"git"},"license":"MIT","private":false,"generators":"./generators.json","executors":"./executors.json","dependencies":{"@ltd/j-toml":"1.38.0","@nx/devkit":"^16.7.4","@nx/js":"^16.7.4","chalk":"^4.1.2"},"type":"commonjs","types":"./src/index.d.ts","gitHead":"f794511e1e77e8380ab9ac5c207914e46654e51a","description":"A Nx plugin that adds support for Cargo and Rust in your Nx workspace.","bugs":{"url":"https://github.com/cammisuli/monodon/issues"},"homepage":"https://github.com/cammisuli/monodon#readme","_id":"@abbudao/nx-rust@1.2.2","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-mczNtTk66oVCQMcuqB9bf04YeVvv8WJIhgUM15pr6VnUQBX7tFc65ui9t5vYX8/FdzXNQ/vatnm2ssMhy8LCmg==","shasum":"a91b03bd68abc8dc5e1b38b1841a8a4169b06574","tarball":"https://registry.npmjs.org/@abbudao/nx-rust/-/nx-rust-1.2.2.tgz","fileCount":122,"unpackedSize":126007,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkPStyjwwgXIubiBjOIpOLl1jfvXmLKKV7j/wvJd5dcAiB3RM916P9nLXns+jFPrKtCTESOWd7FNcAEQ/Tovv8PWA=="}]},"_npmUser":{"name":"abbudao","email":"abbudao@gmail.com"},"directories":{},"maintainers":[{"name":"abbudao","email":"abbudao@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-rust_1.2.2_1693912102430_0.13869893537170008"},"_hasShrinkwrap":false},"1.2.3":{"name":"@abbudao/nx-rust","version":"1.2.3","main":"./src/index.js","repository":{"url":"git+https://github.com/cammisuli/monodon.git","type":"git"},"license":"MIT","private":false,"generators":"./generators.json","executors":"./executors.json","dependencies":{"@ltd/j-toml":"1.38.0","@nx/devkit":"^16.7.4","@nx/js":"^16.7.4","chalk":"^4.1.2"},"type":"commonjs","types":"./src/index.d.ts","gitHead":"c8949ec9d65dfe1cfbc8fe5012de7e8e4e81c0cf","description":"A Nx plugin that adds support for Cargo and Rust in your Nx workspace.","bugs":{"url":"https://github.com/cammisuli/monodon/issues"},"homepage":"https://github.com/cammisuli/monodon#readme","_id":"@abbudao/nx-rust@1.2.3","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-sbkQ2ksfj6dWyR438Awk6YZXUvAhA0ZWnv9S3YnZVzW7QS0JlMKBUPdRS9xUlmYlUy7XbAQbL96hVRk16cCaBQ==","shasum":"a829a6cde93fbd93d8f4db88ec88d17629882fda","tarball":"https://registry.npmjs.org/@abbudao/nx-rust/-/nx-rust-1.2.3.tgz","fileCount":122,"unpackedSize":126569,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3asEPIN8IlH3wRVqr6TvnjRjl1+0MD5yYkmyBCpxvpAiEAu3Rl/CqjkdilEX1J0uRRwPLU0mW2t0AHA6KJztu3O2A="}]},"_npmUser":{"name":"abbudao","email":"abbudao@gmail.com"},"directories":{},"maintainers":[{"name":"abbudao","email":"abbudao@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-rust_1.2.3_1693927702906_0.540862972477177"},"_hasShrinkwrap":false},"1.2.4":{"name":"@abbudao/nx-rust","version":"1.2.4","main":"./src/index.js","repository":{"url":"git+https://github.com/cammisuli/monodon.git","type":"git"},"license":"MIT","private":false,"generators":"./generators.json","executors":"./executors.json","dependencies":{"@ltd/j-toml":"1.38.0","@nx/devkit":"^16.7.4","@nx/js":"^16.7.4","chalk":"^4.1.2"},"type":"commonjs","types":"./src/index.d.ts","gitHead":"0c108b4509af3139d5d5baae5d7fe80145b05bd3","description":"A Nx plugin that adds support for Cargo and Rust in your Nx workspace.","bugs":{"url":"https://github.com/cammisuli/monodon/issues"},"homepage":"https://github.com/cammisuli/monodon#readme","_id":"@abbudao/nx-rust@1.2.4","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-due3gExcllisohuXYedCvx9jv3/YlPvSgFrbRXy+Asx+G6/xYnWtQTjQehBBWnZSpt0ISei5GGJzOkWwPYQb9Q==","shasum":"c2cea4bcc335c8b530f26238b5749879039597a5","tarball":"https://registry.npmjs.org/@abbudao/nx-rust/-/nx-rust-1.2.4.tgz","fileCount":122,"unpackedSize":125909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcZ3A/NKTL0PoOP5RWBQ1ej9KEWf4wGIMpOp8BF0sfQAiACkn7w9yujFSHpZSpUWpSIHzP40LYYAVT2niAqzJY0BA=="}]},"_npmUser":{"name":"abbudao","email":"abbudao@gmail.com"},"directories":{},"maintainers":[{"name":"abbudao","email":"abbudao@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-rust_1.2.4_1694018226883_0.6312269663321148"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-05T11:02:33.499Z","1.2.1":"2023-09-05T11:02:33.902Z","modified":"2023-09-06T16:37:07.359Z","1.2.2":"2023-09-05T11:08:22.660Z","1.2.3":"2023-09-05T15:28:23.152Z","1.2.4":"2023-09-06T16:37:07.123Z"},"maintainers":[{"name":"abbudao","email":"abbudao@gmail.com"}],"description":"A Nx plugin that adds support for Cargo and Rust in your Nx workspace.","homepage":"https://github.com/cammisuli/monodon#readme","repository":{"url":"git+https://github.com/cammisuli/monodon.git","type":"git"},"bugs":{"url":"https://github.com/cammisuli/monodon/issues"},"license":"MIT","readme":"# @abbudao/nx-rust\n\nA Nx plugin that adds support for Cargo and Rust in your Nx workspace.\n\n## Getting Started\n\n### Prerequisites \nThe following tools need to be installed on your system to take full advantage of `@abbudao/nx-rust`\n* Node (LTS)\n* Rust / Cargo via [https://rustup.rs](https://rustup.rs)\n\n### Install with `npx create-nx-workspace` preset\nTo bootstrap a new workspace with `@abbudao/nx-rust` installed and ready, run:\n\n```shell\nnpx create-nx-workspace --preset=@abbudao/nx-rust\n```\n\n### Installation in already set up workspace\nUse your favourite package manager to install in your project:\n\n```shell\nyarn add -D @abbudao/nx-rust\n```\n\n```shell\nnpm install -D @abbudao/nx-rust\n```\n\n```shell\npnpm add -D @abbudao/nx-rust\n```\n\n#### Initialization \n\nAfter installing, you can run any of the project generators (binary, library) to have @abbudao/nx-rust set up Cargo in your workspace.\n\n## Generators\nUse Nx Console to see the full list of options for each generator. \n\n### `@abbudao/nx-rust:binary`\nCreates a Rust binary application to be run independently.\n\n> Create a new binary:\n> ```shell\n> nx generate @abbudao/nx-rust:binary my-rust-app \n> ```\n\n### `@abbudao/nx-rust:library`\nCreates a Rust library that can be used in binaries, or compiled to be used for napi. \n\n> Create a new library:\n> ```shell\n> nx generate @abbudao/nx-rust:library my-rust-lib\n> ```\n\n> Create a new library with napi:\n> ```shell\n> nx generate @abbudao/nx-rust:library my-rust-node-lib --napi\n> ```\n\n#### Napi\nGenerating a library with the `--napi` flag will set up the project to be built with it.\n\n## Executors\nAll the executors support these additional properties:\n* toolchain: (e.g. `--toolchain='stable' | 'beta' | 'nightly'`); \n  * Uses `stable` by default\n* target (e.g. `--target=aarch64-apple-darwin`); \n* profile (e.g. `--profile=dev`) \n  * [Cargo profiles](https://doc.rust-lang.org/cargo/reference/profiles.html)\n* release\n* target-dir \n* features (e.g. `--features=bmp`)\n  * [Cargo features](https://doc.rust-lang.org/cargo/reference/features.html)\n* all-features\n\n### `@abbudao/nx-rust:build`\nRuns cargo to build the project\n> Not supported with napi\n\n### `@abbudao/nx-rust:lint`\nRuns cargo clippy to link the project\n\n### `@abbudao/nx-rust:napi`\nRuns the napi cli to build the project\n\n### `@abbudao/nx-rust:run`\nRuns `cargo run` for the project\n> Not supported with napi\n \n### `@abbudao/nx-rust:test`\nRuns `cargo test` for the project\n\n","readmeFilename":"README.md"}