99% of the time this situation is okay, because Cargo allows you to have both 0.1 and 0.2 in the same project as dependencies. It's just packages that call out to external dependencies, like libc, where it enforces the single version rule.
You can have both 0.1 and 0.2 in the same project, but you really don't want to.
You can have both 0.1 and 0.2 in the same project, but you really don't want to.