fix lib name for renamed lib
Signed-off-by: Alex Chi iskyzh@gmail.com
cargo-semver-checks uses this library and I found this bug. If there is a library with a custom name, the custom name should be used instead of package name.
PR on cargo-semver-checks side: https://github.com/obi1kenobi/cargo-semver-checks/pull/371
Thanks for review!