I changed Cargo.toml dependencies section but on build no new (older) version down loaded
So I hunted around and removed the crate from .cargo/registry/cache and .cargo/src then on build it downloaded not the version that I was trying to install but the original version.
By default, dependencies are "caret requirements", which means that compatible upgrades are allowed. Try doing something like this in your Cargo.toml file to specify an exact version: