Alien::cargo - Find or download the cargo command (build system and package manager for Rust)
version 0.03
use Alien::cargo; use Env qw( @PATH ); unshift @PATH, Alien::cargo->bind_dir;
This Alien provides the Rust Cargo command.
my @dir = Alien::cargo->bin_dir;
Provides the list of directories (if any) that are needed to add to the PATH
in order to run cargo
.
my $version = Alien::cargo->version;
Returns the version of cargo
.
my $install_type = Alien::cargo->install_type; my $bool = Alien::cargo->install_type($install_type);
Returns the install type.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2024 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.