@napi-rs/cli 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -73,6 +73,8 @@ If not set, cli will read the `package.name` field in `Cargo.toml` under `proces
73
73
 
74
74
  > default `undefined`
75
75
 
76
+ > Note you should have `rustup` installed if omit the `--target` flag. The `@napi-rs/cli` will try to find the default target on your system via `rustup` if no `--target` specified.
77
+
76
78
  You can also define this value using the `RUST_TARGET` environment variable.
77
79
 
78
80
  This value will be passed to `Cargo build` command directly. eg: `napi build --target x86_64-unknown-linux-musl`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@napi-rs/cli",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Cli tools for napi-rs",
5
5
  "keywords": [
6
6
  "cli",