What are some things you wish you knew before starting your Rust library?
I need to write a Rust library for customers at work because our Rust clientele is growing, and I'm hoping to learn a bit from the experiences of other Rust library authors. I have a lot of experience writing Rust executable programs, but not libraries. This library is going to be async and would require customers to use Tokio with it—hard requirement from Tonic.
I don't a lot of specific questions, but would love to hear about how people go about error-handling, logging/tracing, dependency versioning, and anything else really they could think of really. It's one of those things where I'm not experienced enough in this domain to know the right questions to ask, so please feel free to add whatever you think would be helpful to share. Thanks!