ReleasesĬargo releases coincide with Rust releases. See the Wiki page for more details andĪ list of known community-developed subcommands. Compilingįirst, you'll want to check out this repositoryĬargo is designed to be extensible with new subcommands without having to modifyĬargo itself. It is recommended to use the vendored versions as they are the versions that are tested to work with Cargo. libz (aka zlib) - Used for data compression.libssh2 - Used for SSH access to git repositories.libgit2 - Used for fetching git dependencies. However, if they are provided by the system and can be found with pkg-config, then the system libraries will be used instead: The build will automatically use vendored versions of the following libraries. On Windows, the system-provided Schannel will be used instead. Otherwise it will fall back to pkg-config. On macOS, common installation directories from Homebrew, MacPorts, or pkgsrc will be checked. This may require additional tools such as perl and make. If using the vendored-openssl Cargo feature, then a static copy of OpenSSL will be built from source instead of using the system OpenSSL. This requires the development headers, which can be obtained from the libssl-dev package on Ubuntu or openssl-devel with apk or yum or the openssl package from Homebrew on macOS. OpenSSL - Only needed on Unix-like systems and only if the vendored-openssl Cargo feature is not used. This may not be required in all cases, such as using vendored OpenSSL, or on Windows. Pkg-config - This is used to help locate system packages, such as libssl headers/libraries. The following are optional based on your platform and needs. Compiling from Source RequirementsĬargo requires the following tools and packages to build: Locally you probably also have cargo installed locally. Code StatusĬargo is distributed by default with Rust, so if you've got rustc installed To start developing Cargo itself, read the Cargo Contributor Guide. To start using Cargo, learn more at The Cargo Book. Cargo downloads your Rust project’s dependencies and compiles your project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |