From 4ed652f3a03664f0eba09369c657e26f6400402b Mon Sep 17 00:00:00 2001 From: frederik-uni <147479464+frederik-uni@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:25:14 +0200 Subject: [PATCH] Update README.md --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96e3bb8..2b36032 100644 --- a/README.md +++ b/README.md @@ -1 +1,23 @@ -# cargotom \ No newline at end of file +# cargotom +## Features +### Code actions +- "Make Workspace dependency" => This will generate `{ workspace = true }` for the dependency +- "Expand dependency specification" => This will convert from `"0.1.0"` to `{ version = "0.1.0" }` +- "Collapse dependency specification" => This will convert from `{ version = "0.1.0" }` to `"0.1.0` +- "Open Docs" => opens docs.rs/... +- "Open crates.io" => opens crates.io/... +- "Upgrade" => will upgrade the dependency version to the latest version +- "Upgrade All " => will upgrade every dependency version to the latest version +- "Update All" => will run `cargo run` + +### Code completion +#### Dependencies +- crate names(online/offline) +- crate versions(online/offline) +- crate features(online/offline) +- feature key when version after the key `crate = "0.1.0"` => `crate = {ve"0.1.0"` to `crate = { version = "0.1.0" }` + +### Diagnostics +- check if crate needs update +- check if crate version exists +- check if crate features exist