-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> Manage Rust projects and their module dependencies (crates).
> Some subcommands such as `cargo build` have their own usage documentation.
Search for crates:
cargo search {search_string}
Install a crate:
cargo install {crate_name}
List installed crates:
cargo install --list
Create a new binary or library Rust project in the current directory:
cargo init --{bin|lib}
Create a new binary or library Rust project in the specified directory:
cargo new {path/to/directory} --{bin|lib}
Build the Rust project in the current directory:
cargo build
Build using a specific number of threads (default is the number of CPU cores):
cargo build --jobs {number_of_threads}
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Tue May 21 03:31:41 2024