My Cargo.toml
file looks like this:
[dependencies]
unicode-segmentation = "1.10.0"
[package]
edition = "2021"
name = "reverse_string"
version = "1.2.0"
There is a dependency of unicode-segmentation.
I am using rustc 1.64 and when I run cargo test
, I get this error:
help: please recompile that crate using this compiler (rustc 1.62.1) (consider running
cargo clean
first) = note: the following crate versions were found: crateunicode_segmentation
compiled by rustc 1.64.0