Post AcUQKFdd3YFN8iRJAW by cuchaz@gladtech.social
 (DIR) More posts by cuchaz@gladtech.social
 (DIR) Post #AcUQKFdd3YFN8iRJAW by cuchaz@gladtech.social
       2023-12-05T05:34:55Z
       
       1 likes, 1 repeats
       
       I don't know who needs to hear this, but the popular `argh` #Rust crate for command-line argument parsing is maintained by Google.With Google being Google and doing their own damn thing all the time, they really don't care about the same kinds of features that I (a total nobody) care about.Which means, it's stupidly hard to implement really basic normal people shit like `--version` arguments in my app using the `argh` crate.The feature request to make this easier was denied with the utterly deranged statement: "This library is currently used most widely through build systems that are not Cargo based. ... It's pretty trivial to add this flag yourself, so for now I'd like to hold off on this feature request."Narrator: It is not pretty trivial. Especially when you're using sub-commandsSo I switched to the `gumdrop` crate and I just couldn't be happier. Implementing `--version` actually *was* trivial this time.So that's what I get for using libs created by big tech. They solve problems big tech cares about and sometimes not problems I care about. Lesson learned.