You should not be editing your cargo.lock file manually. Cargo gives you a first-class way of overriding transitive dependencies.
You can also do cargo update -p