# Upgrade
[](https://crates.io/crates/upgrade)
[](https://github.com/xuxiaocheng0201/upgrade/commits/master)
[](https://github.com/xuxiaocheng0201/upgrade/issues)
[](https://github.com/xuxiaocheng0201/upgrade/pulls)
[](https://github.com/xuxiaocheng0201/upgrade/blob/master/LICENSE)
**Read this in other languages: [English](README.md), [简体中文](README_zh.md).**
**Welcome to submit [PR](https://github.com/xuxiaocheng0201/variable-len-reader/pulls)!**
# Description
A Rust crate to upgrade your program easily.
# Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
upgrade = "~0.2"
```
# Example
Using the Builder mode:
```rust
use upgrade::builder::Builder;
fn main() {
Builder::create().unwrap()
.source(&"./upgrade.exe")
.upgrade().unwrap();
}
```
A shortcut:
```rust
use upgrade::upgrade;
fn main() {
upgrade("./upgrade.exe").unwrap();
}
```