mirror of
https://github.com/rust-lang/cargo
synced 2024-10-02 14:04:23 +00:00
230dbf6a59
In general relying on external programs is dicey and tricky as they're very different across systems in both how they're used as well as what versions you'll find. Instead of binding to the least common denominator of CLI, we can code against an exact version of libgit2. This introduces a build-time dependency on cmake which libgit2 requires to build itself, which is unfortunate, but thankfully it's only a build time dep. The build process for libgit2 also automatically detects as many system libraries as possible to use (if available), falling back to bundled versions if not available. I have currently not figured how to control this, so the link-config package is used to build libgit2 which requires that pkg-config be installed to build cargo as well. Closes #138
76 lines
2.7 KiB
TOML
76 lines
2.7 KiB
TOML
[root]
|
|
name = "cargo"
|
|
version = "0.0.1-pre"
|
|
dependencies = [
|
|
"docopt 0.6.0 (git+https://github.com/burntsushi/docopt.rs#fd2377d1c36b2671136cd36566aad5d54c2fb17e)",
|
|
"docopt_macros 0.6.0 (git+https://github.com/burntsushi/docopt.rs#fd2377d1c36b2671136cd36566aad5d54c2fb17e)",
|
|
"git2 0.0.1 (git+https://github.com/alexcrichton/git2-rs#7f03391f1dc9258daa30cc0d2d3433e05826f692)",
|
|
"hamcrest 0.1.0 (git+https://github.com/carllerche/hamcrest-rust.git#c23b8769f20f306c59a96b22532bb09b33faa764)",
|
|
"semver 0.0.1 (git+https://github.com/rust-lang/semver#e17191f51d543529a6f07e6731802b77977fcef8)",
|
|
"toml 0.1.0 (git+https://github.com/alexcrichton/toml-rs#934e093047ae15432fcc772d4e01fdf5fd56d2fb)",
|
|
"url 0.1.0 (git+https://github.com/servo/rust-url#678bb4d52638b1cfdab78ef8e521566c9240fb1a)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "docopt"
|
|
version = "0.6.0"
|
|
source = "git+https://github.com/burntsushi/docopt.rs#fd2377d1c36b2671136cd36566aad5d54c2fb17e"
|
|
|
|
[[package]]
|
|
name = "docopt_macros"
|
|
version = "0.6.0"
|
|
source = "git+https://github.com/burntsushi/docopt.rs#fd2377d1c36b2671136cd36566aad5d54c2fb17e"
|
|
dependencies = [
|
|
"docopt 0.6.0 (git+https://github.com/burntsushi/docopt.rs#fd2377d1c36b2671136cd36566aad5d54c2fb17e)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "encoding"
|
|
version = "0.1.0"
|
|
source = "git+https://github.com/lifthrasiir/rust-encoding#b82ad2104b2d079620bd227fb9328b2ff8c20ca9"
|
|
|
|
[[package]]
|
|
name = "git2"
|
|
version = "0.0.1"
|
|
source = "git+https://github.com/alexcrichton/git2-rs#7f03391f1dc9258daa30cc0d2d3433e05826f692"
|
|
dependencies = [
|
|
"libgit2 0.0.1 (git+https://github.com/alexcrichton/git2-rs#7f03391f1dc9258daa30cc0d2d3433e05826f692)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "hamcrest"
|
|
version = "0.1.0"
|
|
source = "git+https://github.com/carllerche/hamcrest-rust.git#c23b8769f20f306c59a96b22532bb09b33faa764"
|
|
|
|
[[package]]
|
|
name = "libgit2"
|
|
version = "0.0.1"
|
|
source = "git+https://github.com/alexcrichton/git2-rs#7f03391f1dc9258daa30cc0d2d3433e05826f692"
|
|
dependencies = [
|
|
"link-config 0.0.1 (git+http://github.com/alexcrichton/link-config#f08103ea7d2e2d3369c2c5e66b0220c8d16b92c9)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "link-config"
|
|
version = "0.0.1"
|
|
source = "git+http://github.com/alexcrichton/link-config#f08103ea7d2e2d3369c2c5e66b0220c8d16b92c9"
|
|
|
|
[[package]]
|
|
name = "semver"
|
|
version = "0.0.1"
|
|
source = "git+https://github.com/rust-lang/semver#e17191f51d543529a6f07e6731802b77977fcef8"
|
|
|
|
[[package]]
|
|
name = "toml"
|
|
version = "0.1.0"
|
|
source = "git+https://github.com/alexcrichton/toml-rs#934e093047ae15432fcc772d4e01fdf5fd56d2fb"
|
|
|
|
[[package]]
|
|
name = "url"
|
|
version = "0.1.0"
|
|
source = "git+https://github.com/servo/rust-url#678bb4d52638b1cfdab78ef8e521566c9240fb1a"
|
|
dependencies = [
|
|
"encoding 0.1.0 (git+https://github.com/lifthrasiir/rust-encoding#b82ad2104b2d079620bd227fb9328b2ff8c20ca9)",
|
|
]
|
|
|