ts-pkgx
Version:
A library & CLI for managing packages
80 lines • 2.7 kB
TypeScript
/**
* **bindgen** - Automatically generates Rust FFI bindings to C (and some C++) libraries.
*
* @domain `rust-lang.org/rust-bindgen`
* @programs `bindgen`
* @version `0.72.0` (4 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install bindgen`
* @aliases `bindgen`
* @dependencies `linux:llvm.org` (includes OS-specific dependencies with `os:package` format)
* @companions `rust-lang.org`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access via alias (recommended)
* const pkg = pantry.bindgen
* // Or access via domain
* const samePkg = pantry.rustlangorgrustbindgen
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "rust-bindgen"
* console.log(pkg.description) // "Automatically generates Rust FFI bindings to C ..."
* console.log(pkg.programs) // ["bindgen"]
* console.log(pkg.versions[0]) // "0.72.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/rust-lang-org/rust-bindgen.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const bindgenPackage: {
/**
* The display name of this package.
*/
name: 'rust-bindgen';
/**
* The canonical domain name for this package.
*/
domain: 'rust-lang.org/rust-bindgen';
/**
* Brief description of what this package does.
*/
description: 'Automatically generates Rust FFI bindings to C (and some C++) libraries.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/rust-lang.org/rust-bindgen/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install bindgen';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['bindgen'];
/**
* Related packages that work well with this package.
* Consider installing these for enhanced functionality.
*/
companions: readonly ['rust-lang.org'];
/**
* Required dependencies for this package.
* These will be automatically installed.
* OS-specific dependencies are prefixed with `os:` (e.g., `linux:freetype.org`).
*/
dependencies: readonly ['linux:llvm.org'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['0.72.0', '0.71.1', '0.71.0', '0.70.1'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly ['bindgen']
};
export type BindgenPackage = typeof bindgenPackage