File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,8 @@ precisely:
9797
9898` ` ` toml
9999# pkgx:
100- # openssl.org: 1.1.1n
100+ # dependencies:
101+ # openssl.org: 1.1.1n
101102
102103[package]
103104name = " my cargo project"
@@ -116,9 +117,11 @@ we read a special `pkgx` node:
116117` ` ` json
117118{
118119 " pkgx" : {
119- " openssl.org" : " 1.1.1n" ,
120- " deno" : " ^2" ,
121- " npm" : null
120+ " dependencies" : {
121+ " openssl.org" : " 1.1.1n" ,
122+ " deno" : " ^2" ,
123+ " npm" : null
124+ }
122125 }
123126}
124127` ` `
@@ -130,10 +133,13 @@ You can also make a `pkgx.yaml` file.
130133You can add your own environment variables if you like:
131134
132135` ` ` toml
136+ # ---
133137# pkgx:
134- # openssl.org: 1.1.1n
135- # env:
136- # MY_VAR: my-value
138+ # dependencies:
139+ # openssl.org: 1.1.1n
140+ # env:
141+ # MY_VAR: my-value
142+ # ---
137143` ` `
138144
139145> [! CAUTION]
You can’t perform that action at this time.
0 commit comments