I noticed my compiled executables that use pkger have the entire script of Hamlet embedded in the binary, which adds an additional ~180K to the file size. It seems to be coming from here:
I have nothing against Shakespeare, but is there a different way to generate masked values that doesn't add an extra 180K to every executable that includes this package? Or perhaps, a way to exclude this code at build time if masking is not needed?
I noticed my compiled executables that use pkger have the entire script of Hamlet embedded in the binary, which adds an additional ~180K to the file size. It seems to be coming from here:
https://github.com/markbates/pkger/blob/master/internal/takeon/github.com/markbates/hepa/filters/masks.go#L40
I have nothing against Shakespeare, but is there a different way to generate masked values that doesn't add an extra 180K to every executable that includes this package? Or perhaps, a way to exclude this code at build time if masking is not needed?