Skip to content

Derive `Debug` for most types but not all

stratact requested to merge stratact/ion:derive-debug into master

This is only deriving missing Debugs for most but not all types in Ion.

This will really help me solve bugs more efficiently in the future.

Building time comparisons:

Before:

% cargo build --release
   Compiling ion-shell v1.0.0-alpha (file:///home/stratact/data/projects/cloned_git_repos/ion)
    Finished release [optimized] target(s) in 1m 07s

After:

% cargo build --release
   Compiling ion-shell v1.0.0-alpha (file:///home/stratact/data/projects/cloned_git_repos/ion)
    Finished release [optimized] target(s) in 1m 07s

No changes in compile time.

Binary size comparision:

Before:

% ls -lh target/release/ion
-rwxr-xr-x 2 stratact stratact 5.3M Jun 15 22:23 target/release/ion

After:

% ls -lh target/release/ion
-rwxr-xr-x 2 stratact stratact 5.3M Jun 15 22:25 target/release/ion

No changes in binary size either

Edited by stratact

Merge request reports