Crates.io | godot-rust-cli-upgrader |
lib.rs | godot-rust-cli-upgrader |
version | 0.1.0 |
source | src |
created_at | 2021-06-18 22:05:43.480656 |
updated_at | 2021-06-18 22:05:43.480656 |
description | A CLI tool to help you upgrade your Godot Rust CLI project between versions that introduce breaking changes. |
homepage | https://github.com/robertcorponoi/godot-rust-cli-upgrader/ |
repository | https://github.com/robertcorponoi/godot-rust-cli-upgrader/ |
max_upload_size | |
id | 411895 |
size | 40,232 |
A CLI tool to help you upgrade your Godot Rust CLI project between versions that introduce breaking changes.
Note: If you have any questions about how to use this CLI tool or want to report a bug, feel free to open an issue in the GitHub or the Discord.
Also keep in mind that the main branch will usually be ahead of the version on crates.io.
Table of Contents
Since Godot Rust CLI is going through breaking changes pre-v1.0.0, Godot Rust CLI Upgrader was created to help alleviate some of the pain from upgrading between versions.
To install Godot Rust CLI Upgrader, use:
cargo install godot-rust-cli-upgrader
To upgrade your version of Godot Rust CLI Upgrader to the latest version, use:
cargo install --force godot-rust-cli-upgrader
This guide will walk you through upgrading your Godot Rust CLI library to the latest version. If you would rather just look at the API, check it out below.
The first step is to navigate to the library created by Godot Rust CLI. This should be the directory with the configuration file (either project.toml
, godot-rust-cli.toml
, or godot-rust-cli.json
).
Figure out what version you want to upgrade to. This should always be the latest version, which at the time of writing this is v0.3.x, but you have a choice to upgrade to a different version. For this guide, we'll be upgrading to to v0.3.x.
Note: Godot Rust CLI Upgrader works with major and minor versions but it doesn't care about patches. The only reason we even use minor versions is because pre-v1.0.0 there's going to be breaking changes. This means that when we upgrade, we specify the patch as x like "0.2.x" or "0.3.x".
godot-rust-cli-upgrader upgrade "0.3.x"
Upgrades the version of the library to be compatible with the specified version of Godot Rust CLI.
Usage:
godot-rust-cli-upgrader upgrade <version>
where:
version
is the version to upgrade the library to. Currently the available versions are: "0.2.x"
and "0.3.x"
.Examples:
Upgrading the library to version "0.3.x"
:
godot-rust-cli-upgrader upgrade "0.3.x"
Returns the version of Godot Rust CLI Upgrader.
Usage:
godot-rust-cli-upgrader --version
Check out the Discord to ask any questions or concerns about the cli or Godot + Rust in general.