Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/_tools/release/deps.ts>Crate

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Crate
Re-export
import { Crate } from "https://deno.land/std@0.157.0/_tools/release/deps.ts";

Constructors

new
Crate(repo: Repo, crateMetadata: CargoPackageMetadata)

Properties

readonly
folderPath
readonly
manifestPath
readonly
name
readonly
version

Methods

build(args?: { allFeatures?: boolean; additionalArgs?: string[]; })
cargoCheck(...additionalArgs: string[])
cargoUpdate(...additionalArgs: string[])

Gets all the descendant dependencies in the repository.

Gets the immediate child dependencies found in the repo.

increment(part: "major" | "minor" | "patch")

Prompts the user how they would like to patch and increments the version accordingly.

Prompts the user how they would like to patch and increments the version accordingly.

publish(...additionalArgs: string[])
runCommand(cmd: string[])
runCommandWithOutput(cmd: string[])
setDependencyVersion(dependencyName: string, version: string)
setVersion(version: string)
test(args?: { allFeatures?: boolean; additionalArgs?: string[]; })