@joshmossas/nx-cargo 0.6.7 → 0.6.8
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/dist/index.cjs +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
- package/src/graph/index.ts +2 -4
package/dist/index.cjs
CHANGED
|
@@ -94,9 +94,8 @@ function mapCargoProjects(ctx, packages) {
|
|
|
94
94
|
}
|
|
95
95
|
function getCargoMetadata(cwd) {
|
|
96
96
|
const availableMemory = os__namespace.freemem();
|
|
97
|
-
const cmd = "cargo metadata --format-version=1
|
|
98
|
-
|
|
99
|
-
const metadata = cp__namespace.execSync("cargo metadata --format-version=1 --no-deps", {
|
|
97
|
+
const cmd = "cargo metadata --format-version=1";
|
|
98
|
+
const metadata = cp__namespace.execSync(cmd, {
|
|
100
99
|
encoding: "utf8",
|
|
101
100
|
maxBuffer: availableMemory,
|
|
102
101
|
cwd,
|
package/dist/index.mjs
CHANGED
|
@@ -75,9 +75,8 @@ function mapCargoProjects(ctx, packages) {
|
|
|
75
75
|
}
|
|
76
76
|
function getCargoMetadata(cwd) {
|
|
77
77
|
const availableMemory = os.freemem();
|
|
78
|
-
const cmd = "cargo metadata --format-version=1
|
|
79
|
-
|
|
80
|
-
const metadata = cp.execSync("cargo metadata --format-version=1 --no-deps", {
|
|
78
|
+
const cmd = "cargo metadata --format-version=1";
|
|
79
|
+
const metadata = cp.execSync(cmd, {
|
|
81
80
|
encoding: "utf8",
|
|
82
81
|
maxBuffer: availableMemory,
|
|
83
82
|
cwd,
|
package/package.json
CHANGED
package/src/graph/index.ts
CHANGED
|
@@ -157,13 +157,11 @@ function mapCargoProjects(ctx: Context, packages: Map<CargoId, CargoPackage>) {
|
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Executes 'cargo metadata'.
|
|
160
|
-
* Uses --no-deps because we only care about internal workspace dependencies.
|
|
161
160
|
*/
|
|
162
161
|
function getCargoMetadata(cwd: string): CargoMetadata {
|
|
163
162
|
const availableMemory = os.freemem();
|
|
164
|
-
const cmd = "cargo metadata --format-version=1
|
|
165
|
-
|
|
166
|
-
const metadata = cp.execSync("cargo metadata --format-version=1 --no-deps", {
|
|
163
|
+
const cmd = "cargo metadata --format-version=1";
|
|
164
|
+
const metadata = cp.execSync(cmd, {
|
|
167
165
|
encoding: "utf8",
|
|
168
166
|
maxBuffer: availableMemory,
|
|
169
167
|
cwd: cwd,
|