All unused functions should already get removed by the linker. Are you on Windows by any chance? That is the only platform where we are forced to disable this functionality due to running against limitations in the COFF file format.
My mistake was measuring the size of "target/release", I discovered that that folder contains many "unnecessary" files, like "deps", which greatly bloat the folder'r size, the actual size of my binary is 864K.