mirror of
https://github.com/rust-lang/cargo
synced 2024-10-30 03:28:38 +00:00
ba273af564
The hammer library currently has some shortcomings such as the inability to document individual options. Additionally our handling with hammer of extra arguments is dodgy at best currently. This commit moves the repository to BurntSushi's docopt.rs library which seems to more feature-complete at this time. Additionally, docopt has the great benefit of a "document once, use everywhere" documentation strategy. This migration solves two primary issues: * Comprehensive and useful CLI documentation * Gracefully handling flavorful combinations of arguments in odd combinations Closes #218
79 lines
1.2 KiB
TOML
79 lines
1.2 KiB
TOML
[project]
|
|
|
|
name = "cargo"
|
|
version = "0.0.1-pre"
|
|
authors = ["Yehuda Katz <wycats@gmail.com>",
|
|
"Carl Lerche <me@carllerche.com>"]
|
|
|
|
[[lib]]
|
|
|
|
name = "cargo"
|
|
path = "src/cargo/lib.rs"
|
|
|
|
# TODO: remove all these `rev` markers once we have an official lockfile
|
|
[dependencies.docopt]
|
|
git = "https://github.com/burntsushi/docopt.rs"
|
|
rev = "0babd54a"
|
|
|
|
[dependencies.docopt_macros]
|
|
git = "https://github.com/burntsushi/docopt.rs"
|
|
rev = "0babd54a"
|
|
|
|
[dependencies.toml]
|
|
git = "https://github.com/alexcrichton/toml-rs"
|
|
rev = "a3c7f2c3"
|
|
|
|
[dependencies.hamcrest]
|
|
git = "https://github.com/carllerche/hamcrest-rust.git"
|
|
rev = "05acf768"
|
|
|
|
[[bin]]
|
|
name = "cargo"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-build"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-clean"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-git-checkout"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-read-manifest"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-run"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-rustc"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-test"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-verify-project"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-version"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-new"
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "cargo-doc"
|
|
test = false
|
|
|
|
[[test]]
|
|
name = "tests"
|