Commit 80cb312 1 parent 8607fbf commit 80cb312 Copy full SHA for 80cb312
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,12 @@ Then you'd call `env_logger::init()` or `env_logger::try_init()` prior to doing
332
332
Deku uses the `trace` logging level, so if you run your application with `RUST_LOG=trace` in your
333
333
environment, you will see logging messages as Deku does its deserialising.
334
334
335
+ # Reducing parser code size
336
+
337
+ - With the use of the `no-assert-string` feature, you can remove the strings Deku adds to assertion errors.
338
+ - `DekuError` whenever possible will use a `'static str`, to make the errors compile away when following a
339
+ guide such as [min-sized-rust](https://github.com/johnthagen/min-sized-rust).
340
+
335
341
*/
336
342
#![ warn( missing_docs) ]
337
343
#![ cfg_attr( not( feature = "std" ) , no_std) ]
You can’t perform that action at this time.
0 commit comments