Enet4 / nifti-rs

Rust implementation of the NIfTI-1 format
Apache License 2.0
41 stars 11 forks source link

Less dependencies #66

Closed nilgoyette closed 4 years ago

nilgoyette commented 4 years ago

Remove num and some default features. Not much but a cargo build --release --features ... was 2.5s faster on my work computer.

I tried getting rid of nalgebra because it's huge, I'm not using much of it (3x3 and 4x4 matrix, inverse, eigen and SVD) and we need to update it from time to time ... but it seems like an impossible job. The best I could find was default-features = false and it's not doing much!

I'll send a nalgebra update PR soon (0.18 to 0.21), if it's ok with you. EDIT: we might as well update all dependencies...