/** * Cargo (Rust) package detector and reader for package-compatibility discovery. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ import type { PackageDetector, PackageReader } from "./types.js"; /** * Cargo package detector. * * Scans `Cargo.toml` in the project directory and extracts dependencies * from `[dependencies]`, `[dev-dependencies]`, and `[build-dependencies]`. * * @experimental This API is unstable and may change without notice. */ export declare const cargoDetector: PackageDetector; /** * Cargo package reader. * * Reads `[package.metadata.axm]` from * `$CARGO_HOME/registry/src//-/Cargo.toml` for each * detected cargo crate. `[package.metadata.*]` is Cargo's standard * extensibility mechanism for third-party tools (used by docs.rs, cargo-deb, * cargo-bundle, etc.). * * When the crate version is unknown, scans the registry source directory * for any matching crate directory. * * @experimental This API is unstable and may change without notice. */ export declare const cargoReader: PackageReader; //# sourceMappingURL=cargo.d.ts.map