@@ -76,11 +76,11 @@ If the edition field is not present in Scarb.toml, then the default edition is a
76
76
77
77
The publish field is an optional key that determines whether the package can be published to a registry.
78
78
Setting this field to false will prevent the package from being published.
79
- If the publish field is not present, then it is assumed to be true.
79
+ By default, this field is set to ` true ` .
80
80
81
81
``` toml
82
82
[package ]
83
- publish = false
83
+ publish = true
84
84
```
85
85
86
86
### ` cairo-version `
@@ -263,32 +263,34 @@ For example, while the Sierra name be `[6]`, with this flag turned on it might b
263
263
- For types: ` felt252 ` or ` Box<Box<felt252>> ` .
264
264
- For user functions: ` test::foo ` .
265
265
266
+ By default, this flag is set to ` false ` .
267
+
266
268
``` toml
267
269
[cairo ]
268
- sierra-replace-ids = true
270
+ sierra-replace-ids = false
269
271
```
270
272
271
273
### ` allow-warnings `
272
274
273
275
If enabled, Scarb will not exit with error on compiler warnings.
274
- By default, this flag is enabled .
276
+ By default, this flag is set to ` true ` .
275
277
276
278
``` toml
277
279
[cairo ]
278
- allow-warnings = false
280
+ allow-warnings = true
279
281
```
280
282
281
283
### ` enable-gas `
282
284
283
285
If enabled, during the project compilation Scarb will not add any instructions related to gas usage calculation.
284
- By default, this flag is enabled .
286
+ By default, this flag is set to ` true ` .
285
287
286
288
``` toml
287
289
[cairo ]
288
- enable-gas = false
290
+ enable-gas = true
289
291
```
290
292
291
- This flag cannot be disabled while compiling the ` starknet-contract ` target.
293
+ This flag cannot be set to ` false ` while compiling the ` starknet-contract ` target.
292
294
293
295
### ` inlining-strategy `
294
296
@@ -309,11 +311,11 @@ If `avoid` strategy is set, the compiler will only inline function annotated wit
309
311
> It is advised not to use it for other purposes than that.
310
312
311
313
If enabled, during the project compilation Scarb will add redeposit gas libfunc calls in some locations.
312
- By default, this flag is disabled .
314
+ By default, this flag is set to ` false ` .
313
315
314
316
``` toml
315
317
[cairo ]
316
- add-redeposit-gas = true
318
+ add-redeposit-gas = false
317
319
```
318
320
319
321
### ` unstable-add-statements-functions-debug-info `
@@ -327,11 +329,11 @@ add-redeposit-gas = true
327
329
If enabled, during the project compilation Scarb will a add mapping between Sierra statement indexes and vectors of
328
330
fully qualified paths of Cairo functions to debug info. A statement index maps to a vector consisting of a function
329
331
which caused the statement to be generated and all functions that were inlined or generated along the way.
330
- By default, this flag is disabled .
332
+ By default, this flag is set to ` false ` .
331
333
332
334
``` toml
333
335
[cairo ]
334
- unstable-add-statements-functions-debug-info = true
336
+ unstable-add-statements-functions-debug-info = false
335
337
```
336
338
337
339
### ` unstable-add-statements-code-locations-debug-info `
@@ -345,11 +347,11 @@ unstable-add-statements-functions-debug-info = true
345
347
If enabled, during the project compilation Scarb will add a mapping between Sierra statement indexes and locations in
346
348
the code to debug info. A statement index maps to a vector consisting of code fragment which caused the statement to be
347
349
generated and all code fragments that were inlined or generated along the way.
348
- By default, this flag is disabled .
350
+ By default, this flag is set to ` false ` .
349
351
350
352
``` toml
351
353
[cairo ]
352
- unstable-add-statements-code-locations-debug-info = true
354
+ unstable-add-statements-code-locations-debug-info = false
353
355
```
354
356
355
357
## ` [profile] `
0 commit comments