{"id":13460327,"url":"https://github.com/rust-lang/cargo","last_synced_at":"2025-05-12T17:53:28.418Z","repository":{"id":14700749,"uuid":"17420913","full_name":"rust-lang/cargo","owner":"rust-lang","description":"The Rust package manager","archived":false,"fork":false,"pushed_at":"2025-04-15T15:50:10.000Z","size":59178,"stargazers_count":13399,"open_issues_count":1559,"forks_count":2548,"subscribers_count":193,"default_branch":"master","last_synced_at":"2025-04-15T22:14:30.645Z","etag":null,"topics":["cargo","package-manager","rust"],"latest_commit_sha":null,"homepage":"https://doc.rust-lang.org/cargo","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-03-04T23:20:42.000Z","updated_at":"2025-04-15T21:12:56.000Z","dependencies_parsed_at":"2024-02-19T17:07:51.297Z","dependency_job_id":"97122c0d-ef17-453b-a424-6602c7ecd52b","html_url":"https://github.com/rust-lang/cargo","commit_stats":{"total_commits":12989,"total_committers":1124,"mean_commits":"11.556049822064058","dds":0.8837477865886519,"last_synced_commit":"c1febbe121a413b5430b87dcfc64b3182602dd44"},"previous_names":[],"tags_count":108,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fcargo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fcargo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fcargo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fcargo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/cargo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250400588,"owners_count":21424400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","package-manager","rust"],"created_at":"2024-07-31T10:00:39.723Z","updated_at":"2025-04-23T08:40:07.052Z","avatar_url":"https://github.com/rust-lang.png","language":"Rust","readme":"# Cargo\n\nCargo downloads your Rust project’s dependencies and compiles your project.\n\n**To start using Cargo**, learn more at [The Cargo Book].\n\n**To start developing Cargo itself**, read the [Cargo Contributor Guide].\n\n[The Cargo Book]: https://doc.rust-lang.org/cargo/\n[Cargo Contributor Guide]: https://rust-lang.github.io/cargo/contrib/\n\n\u003e The Cargo binary distributed through with Rust is maintained by the Cargo\n\u003e team for use by the wider ecosystem.\n\u003e For all other uses of this crate (as a binary or library) this is maintained\n\u003e by the Cargo team, primarily for use by Cargo and not intended for external\n\u003e use (except as a transitive dependency). This crate may make major changes to\n\u003e its APIs.\n\n## Code Status\n\n[![CI](https://github.com/rust-lang/cargo/actions/workflows/main.yml/badge.svg?branch=auto-cargo)](https://github.com/rust-lang/cargo/actions/workflows/main.yml)\n\nCode documentation: \u003chttps://doc.rust-lang.org/nightly/nightly-rustc/cargo/\u003e\n\n## Compiling from Source\n\n### Requirements\n\nCargo requires the following tools and packages to build:\n\n* `cargo` and `rustc`\n* A C compiler [for your platform](https://github.com/rust-lang/cc-rs#compile-time-requirements)\n* `git` (to clone this repository)\n\n**Other requirements:**\n\nThe following are optional based on your platform and needs.\n\n* `pkg-config` — This is used to help locate system packages, such as `libssl` headers/libraries. This may not be required in all cases, such as using vendored OpenSSL, or on Windows.\n* OpenSSL — Only needed on Unix-like systems and only if the `vendored-openssl` Cargo feature is not used.\n\n  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.\n\n  If using the `vendored-openssl` Cargo feature, then a static copy of OpenSSL will be built from source instead of using the system OpenSSL.\n  This may require additional tools such as `perl` and `make`.\n\n  On macOS, common installation directories from Homebrew, MacPorts, or pkgsrc will be checked. Otherwise it will fall back to `pkg-config`.\n\n  On Windows, the system-provided Schannel will be used instead.\n\n  LibreSSL is also supported.\n\n**Optional system libraries:**\n\nThe build will automatically use vendored versions of the following libraries. However, if they are provided by the system and can be found with `pkg-config`, then the system libraries will be used instead:\n\n* [`libcurl`](https://curl.se/libcurl/) — Used for network transfers.\n* [`libgit2`](https://libgit2.org/) — Used for fetching git dependencies.\n* [`libssh2`](https://www.libssh2.org/) — Used for SSH access to git repositories.\n* [`libz`](https://zlib.net/) (AKA zlib) — Used by the above C libraries for data compression. (Rust code uses [`zlib-rs`](https://github.com/trifectatechfoundation/zlib-rs) instead.)\n\nIt is recommended to use the vendored versions as they are the versions that are tested to work with Cargo.\n\n### Compiling\n\nFirst, you'll want to check out this repository\n\n```\ngit clone https://github.com/rust-lang/cargo.git\ncd cargo\n```\n\nWith `cargo` already installed, you can simply run:\n\n```\ncargo build --release\n```\n\n## Adding new subcommands to Cargo\n\nCargo is designed to be extensible with new subcommands without having to modify\nCargo itself. See [the Wiki page][third-party-subcommands] for more details and\na list of known community-developed subcommands.\n\n[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands\n\n\n## Releases\n\nCargo releases coincide with Rust releases.\nHigh level release notes are available as part of [Rust's release notes][rel].\nDetailed release notes are available in the [changelog].\n\n[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md\n[changelog]: https://doc.rust-lang.org/nightly/cargo/CHANGELOG.md\n\n## Reporting issues\n\nFound a bug? We'd love to know about it!\n\nPlease report all issues on the GitHub [issue tracker][issues].\n\n[issues]: https://github.com/rust-lang/cargo/issues\n\n## Contributing\n\nSee the **[Cargo Contributor Guide]** for a complete introduction\nto contributing to Cargo.\n\n## License\n\nCargo is primarily distributed under the terms of both the MIT license\nand the Apache License (Version 2.0).\n\nSee [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.\n\n### Third party software\n\nThis product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit (https://www.openssl.org/).\n\nIn binary form, this product includes software that is licensed under the\nterms of the GNU General Public License, version 2, with a linking exception,\nwhich can be obtained from the [upstream repository][1].\n\nSee [LICENSE-THIRD-PARTY](LICENSE-THIRD-PARTY) for details.\n\n[1]: https://github.com/libgit2/libgit2\n\n","funding_links":[],"categories":["Rust","HarmonyOS","Rust Tools","Rust Tools and Frameworks","Package Manager","Rust 程序设计","语言资源库","rust","Rust Tools, Libraries, and Frameworks","Tools"],"sub_categories":["Windows Manager","In-memory data grids","Language Tutorials","Interfaces","网络服务_其他","rust","E-Books","VS Code Extensions for Developer Productivity","Mesh networks","JavaScript Libraries for Machine Learning"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Fcargo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Fcargo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Fcargo/lists"}