A simple plugin that gets the latest version from crates.io for the crate.
When editing cargo.toml, e.g.
[dependencies]
tower=""
executing the insert_latest_version
method will result in the version being populated
[dependencies]
tower="0.4.8"
- original source for
api.lua
- https://github.com/akinsho/dependency-assist.nvim/blob/main/lua/dependency_assist/api.lua - original source for
crates_api.lua
- https://github.com/akinsho/dependency-assist.nvim/blob/main/lua/dependency_assist/rust/crates_api.lua