Skip to main content
Module

std/_tools/release/deps.ts>Crate

Deno standard library
Go to Latest
class Crate
Re-export
import { Crate } from "https://deno.land/std@0.139.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[]; })