import { Crate } from "https://deno.land/x/deno@v1.40.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[])
command(command: string | string[])
Gets all the descendant dependencies in the repository.
Gets the latest version from crates.io or returns undefined if not exists.
Gets the immediate child dependencies found in the repo.
increment(part: "major" | "minor" | "patch")
Gets if published or not, returning undefined if it was never published.
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)
setDependencyVersion(dependencyName: string, version: string)
setVersion(version: string)
test(args?: { allFeatures?: boolean; additionalArgs?: string[]; })
toLocalSource(crate: Crate)