In rust-lang/cargo@7248f4b70da464b9ed7839e0f26110b6664b6ee6,
cargo::core::resolver::resolve::Resolve::extern_crate_name was renamed
to extern_crate_name_and_dep_name and started to return both extern
crate and dep name. RLS only needs extern crate name at this moment.
Not sure if there is any crate using rls as a libbrary directly.
I assume no, so I change the type of the pub field Dep.crate_name.
If this is not appropriate, I can alternatively keep it as String.
In rust-lang/cargo@7248f4b70da464b9ed7839e0f26110b6664b6ee6,
cargo::core::resolver::resolve::Resolve::extern_crate_name
was renamed toextern_crate_name_and_dep_name
and started to return both extern crate and dep name. RLS only needs extern crate name at this moment.Not sure if there is any crate using rls as a libbrary directly. I assume no, so I change the type of the pub field
Dep.crate_name
. If this is not appropriate, I can alternatively keep it asString
.