patchver

Crates.iopatchver
lib.rspatchver
version0.4.0
created_at2024-08-16 04:24:30.474155+00
updated_at2025-11-15 18:23:34.644108+00
descriptionTool to promote exisiting Deno binaries to a different version
homepage
repository
max_upload_size
id1339916
size16,207
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