ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.56 kB
TypeScript
/**
* **rust-script** - Run Rust files and expressions as scripts without any setup or compilation step.
*
* @domain `rust-script.org`
* @programs `rust-script`
* @version `0.36.0` (3 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install rust-script`
* @name `rust-script`
* @companions `rust-lang.org`, `rust-lang.org/cargo`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.rustscript
* // Or access via domain
* const samePkg = pantry.rustscriptorg
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "rust-script"
* console.log(pkg.description) // "Run Rust files and expressions as scripts witho..."
* console.log(pkg.programs) // ["rust-script"]
* console.log(pkg.versions[0]) // "0.36.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/rust-script-org.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const rustscriptPackage: {
/**
* The display name of this package.
*/
name: 'rust-script';
/**
* The canonical domain name for this package.
*/
domain: 'rust-script.org';
/**
* Brief description of what this package does.
*/
description: 'Run Rust files and expressions as scripts without any setup or compilation step.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/rust-script.org/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install rust-script';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['rust-script'];
/**
* Related packages that work well with this package.
* Consider installing these for enhanced functionality.
*/
companions: readonly ['rust-lang.org', 'rust-lang.org/cargo'];
dependencies: readonly [];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['0.36.0', '0.35.0', '0.34.0'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) rust-script -- $SHELL -i';
launchpadInstallCommand: 'launchpad install rust-script'
};
export type RustscriptPackage = typeof rustscriptPackage