| There's a such a degree of entitlement to this comment. > And there is no way to wrap this behaviour. [..] As a sibling comment mentioned, this is possible with std::panic::catch_unwind. That is prominent in the std::panic documentation (literally the first function for std::panic) and if you Google "rust stop panics", the first Stack Overflow result (third down on the page for me) describes this directly. Just about anyone who had put in a modicum of good-faith effort would have found this quickly. > You literally have to beg third party developers to consider what is best for you rather than them. I'm assuming this means third-party developers that you're paying and have signed a support contract with? Because if you mean any of the three Rust PDF libraries that I just looked at, those are written by open source developers who have no obligation to consider what is best for you instead of them, owe you exactly nothing, and for whom you should be, if anything, only thanking for doing some of the initial legwork that allows you to use that library at all. If you'd like a change, make a pull request or fork the library. > It is one of the more insane situations I've ever seen in programming in 30+ years. Great. You've been in the field a while; nothing written about should surprise you. |