Rob Pike (I think) advocated for rather copying code you need into your codebase instead of a dependency.
In case of public key cryptography and ECC specifically, why do you even need a library. It's all known and pretty much immutable. And like 50 lines of code ...