4 ms·
yes and it has little to do with liking or dislinking traits tbh. having to import a trait to use what boils down to a single pure function is never good design
by dathinab 3y ago
yes and it has little to do with liking or dislinking traits tbh. having to import a trait to use what boils down to a single pure function is never good design
BUT the convenience methods defaulting to "standard" base64 instead of "url safe" base64 because it's one of the things where people don't think about there being more then one standard/configuration and it then loading to bugs in their code
so deprecating it makes sense, and without a braking change (which makes no sense here) you can't replace it with anything better
and because of the prelude module the import isn't that bad e.g.: `use base64::prelude::{Engine as _, BASE64_STANDARD};`
and even ignoring that most imports are auto generated, sorted and formatted by rust analyzer for most people most of the time
so it's eitherway at most a minor anoyence
so I can understand that the author is feed up with people annoying him about that again and again and again