#version #rc #patchver

bin+lib patchver

Tool to promote exisiting Deno binaries to a different version

3 releases (breaking)

new 0.3.0 Apr 23, 2025
0.2.0 Oct 1, 2024
0.1.0 Aug 16, 2024

#573 in Cargo plugins

Download history 2/week @ 2025-02-19

136 downloads per month

MIT license

7KB
58 lines

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

Dependencies

~6–17MB
~162K SLoC