import { Crate } from "https://deno.land/std@0.157.0/_tools/release/deps.ts";
Constructors
new
Crate(repo: Repo, crateMetadata: CargoPackageMetadata)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[])
revertLocalSource(crate: Crate)
runCommand(cmd: string[])
runCommandWithOutput(cmd: string[])
setDependencyVersion(dependencyName: string, version: string)
setVersion(version: string)
test(args?: { allFeatures?: boolean; additionalArgs?: string[]; })
toLocalSource(crate: Crate)