{
    "version": "0.5.4",
    "description": "fast, encrypted, and deduplicated backups powered by Rust",
    "homepage": "https://rustic.cli.rs",
    "license": "MIT|Apache-2.0",
    "architecture": {
        "64bit": {
            "url": "https://github.com/rustic-rs/rustic/releases/download/v0.5.4/rustic-v0.5.4-x86_64-pc-windows-msvc.tar.gz",
            "hash": "4a5074a2937dcf1b8bcc1bdeebdb9d10364062b00e0c6475b4e0d8859ebb49d2"
        }
    },
    "pre_install": "Rename-Item \"$dir\\rustic\" 'rustic.exe' -ErrorAction SilentlyContinue # delete this when upstream fixes it",
    "env_set": {
        "RUSTIC_HOME": "$dir"
    },
    "bin": "rustic.exe",
    "persist": [
        "config",
        "logs"
    ],
    "checkver": {
        "github": "https://github.com/rustic-rs/rustic"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/rustic-rs/rustic/releases/download/v$version/rustic-v$version-x86_64-pc-windows-msvc.tar.gz"
            }
        },
        "hash": {
            "url": "$url.sha256"
        }
    }
}
