patchver

Crates.iopatchver
lib.rspatchver
version0.3.0
created_at2024-08-16 04:24:30.474155+00
updated_at2025-04-23 04:12:24.238197+00
descriptionTool to promote exisiting Deno binaries to a different version
homepage
repository
max_upload_size
id1339916
size18,379
Divy (littledivy)

documentation

README

Tool to promote exisiting Deno binaries to a different version.

Install

cargo install patchver

Usage

Modify your code to use sui to get current version at run-time.

use once_cell::sync::Lazy;

static CHANNEL: Lazy<&str> = Lazy::new(|| {
    libsui::find_section("denover")
        .unwrap_or("stable")
});

Promote to new channel:

patchver deno deno_new --channel rc
Commit count: 0

cargo fmt