Hello community, here is the log from the commit of package cargo-bootstrap for openSUSE:Factory checked in at 2017-02-25 00:53:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cargo-bootstrap (Old) and /work/SRC/openSUSE:Factory/.cargo-bootstrap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cargo-bootstrap" Changes: -------- --- /work/SRC/openSUSE:Factory/cargo-bootstrap/cargo-bootstrap.changes 2016-11-10 13:18:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cargo-bootstrap.new/cargo-bootstrap.changes 2017-02-25 00:53:07.232503354 +0100 @@ -1,0 +2,5 @@ +Wed Feb 8 02:28:10 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to version 0.16 + +------------------------------------------------------------------- Old: ---- cargo-0.13.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.13.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.13.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.13.0-i686-unknown-linux-gnu.tar.gz cargo-0.13.0-x86_64-unknown-linux-gnu.tar.gz New: ---- cargo-0.16.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.16.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.16.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.16.0-i686-unknown-linux-gnu.tar.gz cargo-0.16.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.16.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.16.0-s390x-unknown-linux-gnu.tar.gz cargo-0.16.0-x86_64-unknown-linux-gnu.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cargo-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.UTicA9/_old 2017-02-25 00:53:10.727966991 +0100 +++ /var/tmp/diff_new_pack.UTicA9/_new 2017-02-25 00:53:10.735965763 +0100 @@ -1,7 +1,8 @@ # # spec file for package cargo-bootstrap # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 Luke Jones, luke.nukem.jo...@gmail.com # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +18,22 @@ Name: cargo-bootstrap -Version: 0.13.0 +Version: 0.16.0 Release: 0 Summary: Bootstrap Package for Cargo License: MIT or Apache-2.0 Group: Development/Languages/Other -Url: https://crates.io -Provides: cargo +Url: https://static.rust-lang.org/dist/index.html Source0: cargo-%{version}-x86_64-unknown-linux-gnu.tar.gz Source1: cargo-%{version}-i686-unknown-linux-gnu.tar.gz Source2: cargo-%{version}-aarch64-unknown-linux-gnu.tar.gz Source3: cargo-%{version}-armv7-unknown-linux-gnueabihf.tar.gz Source4: cargo-%{version}-arm-unknown-linux-gnueabihf.tar.gz +Source5: cargo-%{version}-powerpc64-unknown-linux-gnu.tar.gz +Source6: cargo-%{version}-powerpc64le-unknown-linux-gnu.tar.gz +Source7: cargo-%{version}-s390x-unknown-linux-gnu.tar.gz Source99: README.packaging -Requires: rustc-stable -ExclusiveArch: %ix86 x86_64 aarch64 armv7hl armv6hl +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x Conflicts: cargo @@ -40,20 +42,30 @@ the Rust systems programming language. %prep +# cargo-%{version} is replaced with 'nightly' due to upstream packaging. %ifarch x86_64 -%setup -T -b 0 -n cargo-%{version}-x86_64-unknown-linux-gnu +%setup -T -b 0 -n cargo-nightly-x86_64-unknown-linux-gnu %endif %ifarch %ix86 -%setup -T -b 1 -n cargo-%{version}-i686-unknown-linux-gnu +%setup -T -b 1 -n cargo-nightly-i686-unknown-linux-gnu %endif %ifarch aarch64 -%setup -T -b 2 -n cargo-%{version}-aarch64-unknown-linux-gnu +%setup -T -b 2 -n cargo-nightly-aarch64-unknown-linux-gnu %endif %ifarch armv7hl -%setup -T -b 3 -n cargo-%{version}-armv7-unknown-linux-gnueabihf +%setup -T -b 3 -n cargo-nightly-armv7-unknown-linux-gnueabihf %endif %ifarch armv6hl -%setup -T -b 4 -n cargo-%{version}-arm-unknown-linux-gnueabihf +%setup -T -b 4 -n cargo-nightly-arm-unknown-linux-gnueabihf +%endif +%ifarch ppc64 +%setup -T -b 5 -n cargo-nightly-powerpc64-unknown-linux-gnu +%endif +%ifarch ppc64le +%setup -T -b 6 -n cargo-nightly-powerpc64le-unknown-linux-gnu +%endif +%ifarch s390x +%setup -T -b 7 -n cargo-nightly-s390x-unknown-linux-gnu %endif %build ++++++ cargo-0.13.0-aarch64-unknown-linux-gnu.tar.gz -> cargo-0.16.0-aarch64-unknown-linux-gnu.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/README.md new/cargo-nightly-aarch64-unknown-linux-gnu/README.md --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/README.md 2016-11-05 14:41:39.480000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/README.md 2017-01-27 09:32:12.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues Binary files old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/bin/cargo and new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/bin/cargo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2017-01-27 09:32:12.000000000 +0100 @@ -17,13 +17,14 @@ local opt_color='--color' local opt_common="$opt_help $opt_verbose $opt_quiet $opt_color" local opt_pkg='-p --package' - local opt_feat='--features --no-default-features' + local opt_feat='--features --all-features --no-default-features' local opt_mani='--manifest-path' local opt_jobs='-j --jobs' local opt___nocmd="$opt_common -V --version --list" local opt__bench="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --no-run" local opt__build="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --release" + local opt__check="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --example" local opt__clean="$opt_common $opt_pkg $opt_mani --target --release" local opt__doc="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --open --no-deps --release" local opt__fetch="$opt_common $opt_mani" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/manifest.in new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/manifest.in --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/manifest.in 2016-11-05 14:41:39.460000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/manifest.in 2017-01-27 09:32:12.000000000 +0100 @@ -6,6 +6,7 @@ file:share/doc/cargo/README.md file:share/man/man1/cargo-bench.1 file:share/man/man1/cargo-build.1 +file:share/man/man1/cargo-check.1 file:share/man/man1/cargo-clean.1 file:share/man/man1/cargo-doc.1 file:share/man/man1/cargo-fetch.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2016-11-05 14:41:39.440000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-01-27 09:32:12.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 2017-01-27 09:32:12.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 2017-01-27 09:32:12.000000000 +0100 @@ -67,6 +67,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-features \f[I]FEATURES\f[] Space\-separated list of features to also build. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 1970-01-01 01:00:00.000000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 2017-01-27 09:32:12.000000000 +0100 @@ -0,0 +1,132 @@ +.TH "CARGO\-CHECK" "1" "May 2016" "The Rust package manager" "Cargo Manual" +.hy +.SH NAME +.PP +cargo\-check \- Check the current project +.SH SYNOPSIS +.PP +\f[I]cargo check\f[] [OPTIONS] +.SH DESCRIPTION +.PP +Check a local package and all of its dependencies. +.PP +If the \f[B]\-\-package\f[] argument is given, then \f[I]SPEC\f[] is a +package id specification which indicates which package should be checked. +If it is not given, then the current package is checked. +For more information on \f[I]SPEC\f[] and its format, see the "cargo +help pkgid" command. +.PP +Compilation can be configured via the use of profiles which are +configured in the manifest. +The default profile for this command is \f[I]dev\f[], but passing the +\f[B]\-\-release\f[] flag will use the \f[I]release\f[] profile instead. +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this message. +.RS +.RE +.TP +.B \-p \f[I]SPEC\f[], \-\-package \f[I]SPEC ...\f[] +Package to check. +.RS +.RE +.TP +.B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[] +Number of parallel jobs, defaults to # of CPUs. +.RS +.RE +.TP +.B \-\-lib +Check only this package\[aq]s library. +.RS +.RE +.TP +.B \-\-bin \f[I]NAME\f[] +Check only the specified binary. +.RS +.RE +.TP +.B \-\-example \f[I]NAME\f[] +Check only the specified example. +.RS +.RE +.TP +.B \-\-test \f[I]NAME\f[] +Check only the specified test target. +.RS +.RE +.TP +.B \-\-bench \f[I]NAME\f[] +Check only the specified benchmark target. +.RS +.RE +.TP +.B \-\-release +Check artifacts in release mode. +.RS +.RE +.TP +.B \-\-all\-features +Check with all available features. +.RS +.RE +.TP +.B \-\-features \f[I]FEATURES\f[] +Space\-separated list of features to also check. +.RS +.RE +.TP +.B \-\-no\-default\-features +Do not check the \f[C]default\f[] feature. +.RS +.RE +.TP +.B \-\-target \f[I]TRIPLE\f[] +Check for the target triple. +.RS +.RE +.TP +.B \-\-manifest\-path \f[I]PATH\f[] +Path to the manifest to compile. +.RS +.RE +.TP +.B \-v, \-\-verbose +Use verbose output. +.RS +.RE +.TP +.B \-q, \-\-quiet +No output printed to stdout. +.RS +.RE +.TP +.B \-\-color \f[I]WHEN\f[] +Coloring: auto, always, never. +.RS +.RE +.SH EXAMPLES +.PP +Check a local package and all of its dependencies +.IP +.nf +\f[C] +$\ cargo\ check +\f[] +.fi +.PP +Check a package with optimizations +.IP +.nf +\f[C] +$\ cargo\ check\ \-\-release +\f[] +.fi +.SH SEE ALSO +.PP +cargo(1) +.SH COPYRIGHT +.PP +This work is dual\-licensed under Apache 2.0 and MIT terms. +See \f[I]COPYRIGHT\f[] file in the cargo source distribution. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 2017-01-27 09:32:12.000000000 +0100 @@ -57,6 +57,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 2017-01-27 09:32:12.000000000 +0100 @@ -5,8 +5,9 @@ cargo\-install \- Install a Rust binary .SH SYNOPSIS .PP -\f[I]cargo install\f[] [OPTIONS] <CRATE> \f[I]cargo install\f[] -[OPTIONS] \-\-list +\f[I]cargo install\f[] [OPTIONS] <CRATE> +.PP +\f[I]cargo install\f[] [OPTIONS] \-\-list .SH DESCRIPTION .PP Install a Rust binary @@ -98,6 +99,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-f, \-\-force Force overwriting existing crates or binaries .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 2017-01-27 09:32:12.000000000 +0100 @@ -22,6 +22,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not include the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 2017-01-27 09:32:12.000000000 +0100 @@ -21,11 +21,6 @@ .RS .RE .TP -.B \-\-host \f[I]HOST\f[] -Host to upload the package to. -.RS -.RE -.TP .B \-\-token \f[I]TOKEN\f[] Token to use when uploading. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 2017-01-27 09:32:12.000000000 +0100 @@ -51,6 +51,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 2017-01-27 09:32:12.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not compile default features for the package. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 2017-01-27 09:32:12.000000000 +0100 @@ -81,6 +81,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 2017-01-27 09:32:12.000000000 +0100 @@ -107,6 +107,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 2016-11-05 14:41:39.430000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 2017-01-27 09:32:12.000000000 +0100 @@ -6,6 +6,7 @@ .SH SYNOPSIS .PP \f[I]cargo uninstall\f[] [OPTIONS] <SPEC> +.PP \f[I]cargo uninstall\f[] (\-h | \-\-help) .SH DESCRIPTION .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2016-11-05 14:41:39.440000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-01-27 09:32:12.000000000 +0100 @@ -20,6 +20,7 @@ bench) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -36,6 +37,7 @@ build) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -49,6 +51,23 @@ '--color=:colorization option:(auto always never)' \ ;; + check) + _arguments \ + '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ + '(-h, --help)'{-h,--help}'[show help message]' \ + '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ + "${command_scope_spec[@]}" \ + '--manifest-path=[path to manifest]: :_files -/' \ + '--no-default-features[do not check the default features]' \ + '(-p,--package)'{-p=,--package=}'[package to check]:packages:_get_package_names' \ + '--release=[check in release mode]' \ + '--target=[target triple]' \ + '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ + '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \ + '--color=:colorization option:(auto always never)' \ + ;; + clean) _arguments \ '(-h, --help)'{-h,--help}'[show help message]' \ @@ -64,6 +83,7 @@ doc) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -131,6 +151,7 @@ '--debug[build in debug mode instead of release mode]' \ '--example[install the specified example instead of binaries]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--git=[URL from which to install the crate]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ @@ -168,6 +189,7 @@ '--no-default-features[do not include the default feature]' \ '--manifest-path=[path to manifest]: :_files -/' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--format-version=[format version(default: 1)]' \ '--color=:colorization option:(auto always never)' \ ;; @@ -241,6 +263,7 @@ _arguments \ '--example=[name of the bin target]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -258,6 +281,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[features to compile for the package]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to fetch dependencies for]' \ @@ -275,6 +299,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[space-separated list of features to also build]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to document]' \ @@ -301,6 +326,7 @@ test) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -375,6 +401,7 @@ local -a commands;commands=( 'bench:execute all benchmarks of a local package' 'build:compile the current project' +'check:check the current project without compiling' 'clean:remove generated artifacts' 'doc:build package documentation' 'fetch:fetch package dependencies' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/install.sh new/cargo-nightly-aarch64-unknown-linux-gnu/install.sh --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/install.sh 2016-11-05 14:41:39.810000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/install.sh 2017-01-27 09:32:12.000000000 +0100 @@ -360,28 +360,12 @@ _ostype=pc-windows-gnu ;; - # Vista 32 bit - CYGWIN_NT-6.0) - _ostype=pc-windows-gnu - ;; - - # Vista 64 bit - CYGWIN_NT-6.0-WOW64) - _ostype=pc-windows-gnu - ;; - - # Win 7 32 bit - CYGWIN_NT-6.1) - _ostype=pc-windows-gnu - ;; - - # Win 7 64 bit - CYGWIN_NT-6.1-WOW64) + CYGWIN*) _ostype=pc-windows-gnu ;; *) - err "unknown value from uname -s: $uname_value" + err "unknown value from uname -s: $_uname_value" ;; esac @@ -640,6 +624,25 @@ _file_install_path="$CFG_MANDIR/$_f" fi + # HACK: Try to support overriding --docdir. Paths with the form + # "share/doc/$product/" can be redirected to a single --docdir + # path. If the following detects that --docdir has been specified + # then it will replace everything preceeding the "$product" path + # component. The problem here is that the combined rust installer + # contains two "products": rust and cargo; so the contents of those + # directories will both be dumped into the same directory; and the + # contents of those directories are _not_ disjoint. Since this feature + # is almost entirely to support 'make install' anyway I don't expect + # this problem to be a big deal in practice. + if [ "$CFG_DOCDIR" != "<default>" ] + then + if echo "$_file" | grep "^share/doc/" > /dev/null + then + local _f="$(echo "$_file" | sed 's/^share\/doc\/[^/]*\///')" + _file_install_path="$CFG_DOCDIR/$_f" + fi + fi + # Make sure there's a directory for it make_dir_recursive "$(dirname "$_file_install_path")" critical_need_ok "directory creation failed" @@ -850,6 +853,9 @@ flag list-components "list available components" valopt libdir "$CFG_DESTDIR_PREFIX/lib" "install libraries" valopt mandir "$CFG_DESTDIR_PREFIX/share/man" "install man pages in PATH" +# NB See the docdir handling in install_components for an explanation of this +# weird <default> string +valopt docdir "\<default\>" "install documentation in PATH" opt ldconfig 1 "run ldconfig after installation (Linux only)" opt verify 1 "obsolete" flag verbose "run with verbose output" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-aarch64-unknown-linux-gnu/version new/cargo-nightly-aarch64-unknown-linux-gnu/version --- old/cargo-0.13.0-aarch64-unknown-linux-gnu/version 2016-11-05 14:41:39.480000000 +0100 +++ new/cargo-nightly-aarch64-unknown-linux-gnu/version 2017-01-27 09:32:12.000000000 +0100 @@ -1 +1 @@ -0.13.0 (built 2016-11-05) +0.16.0-nightly (6e0c18c 2017-01-27) ++++++ cargo-0.13.0-arm-unknown-linux-gnueabihf.tar.gz -> cargo-0.16.0-arm-unknown-linux-gnueabihf.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/README.md new/cargo-nightly-arm-unknown-linux-gnueabihf/README.md --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/README.md 2016-11-03 14:19:25.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/README.md 2017-01-27 09:31:37.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues Binary files old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/bin/cargo and new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/bin/cargo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo 2017-01-27 09:31:37.000000000 +0100 @@ -17,13 +17,14 @@ local opt_color='--color' local opt_common="$opt_help $opt_verbose $opt_quiet $opt_color" local opt_pkg='-p --package' - local opt_feat='--features --no-default-features' + local opt_feat='--features --all-features --no-default-features' local opt_mani='--manifest-path' local opt_jobs='-j --jobs' local opt___nocmd="$opt_common -V --version --list" local opt__bench="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --no-run" local opt__build="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --release" + local opt__check="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --example" local opt__clean="$opt_common $opt_pkg $opt_mani --target --release" local opt__doc="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --open --no-deps --release" local opt__fetch="$opt_common $opt_mani" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/manifest.in new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/manifest.in --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/manifest.in 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/manifest.in 2017-01-27 09:31:37.000000000 +0100 @@ -6,6 +6,7 @@ file:share/doc/cargo/README.md file:share/man/man1/cargo-bench.1 file:share/man/man1/cargo-build.1 +file:share/man/man1/cargo-check.1 file:share/man/man1/cargo-clean.1 file:share/man/man1/cargo-doc.1 file:share/man/man1/cargo-fetch.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md 2017-01-27 09:31:37.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 2017-01-27 09:31:37.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 2017-01-27 09:31:37.000000000 +0100 @@ -67,6 +67,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-features \f[I]FEATURES\f[] Space\-separated list of features to also build. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 1970-01-01 01:00:00.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 2017-01-27 09:31:37.000000000 +0100 @@ -0,0 +1,132 @@ +.TH "CARGO\-CHECK" "1" "May 2016" "The Rust package manager" "Cargo Manual" +.hy +.SH NAME +.PP +cargo\-check \- Check the current project +.SH SYNOPSIS +.PP +\f[I]cargo check\f[] [OPTIONS] +.SH DESCRIPTION +.PP +Check a local package and all of its dependencies. +.PP +If the \f[B]\-\-package\f[] argument is given, then \f[I]SPEC\f[] is a +package id specification which indicates which package should be checked. +If it is not given, then the current package is checked. +For more information on \f[I]SPEC\f[] and its format, see the "cargo +help pkgid" command. +.PP +Compilation can be configured via the use of profiles which are +configured in the manifest. +The default profile for this command is \f[I]dev\f[], but passing the +\f[B]\-\-release\f[] flag will use the \f[I]release\f[] profile instead. +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this message. +.RS +.RE +.TP +.B \-p \f[I]SPEC\f[], \-\-package \f[I]SPEC ...\f[] +Package to check. +.RS +.RE +.TP +.B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[] +Number of parallel jobs, defaults to # of CPUs. +.RS +.RE +.TP +.B \-\-lib +Check only this package\[aq]s library. +.RS +.RE +.TP +.B \-\-bin \f[I]NAME\f[] +Check only the specified binary. +.RS +.RE +.TP +.B \-\-example \f[I]NAME\f[] +Check only the specified example. +.RS +.RE +.TP +.B \-\-test \f[I]NAME\f[] +Check only the specified test target. +.RS +.RE +.TP +.B \-\-bench \f[I]NAME\f[] +Check only the specified benchmark target. +.RS +.RE +.TP +.B \-\-release +Check artifacts in release mode. +.RS +.RE +.TP +.B \-\-all\-features +Check with all available features. +.RS +.RE +.TP +.B \-\-features \f[I]FEATURES\f[] +Space\-separated list of features to also check. +.RS +.RE +.TP +.B \-\-no\-default\-features +Do not check the \f[C]default\f[] feature. +.RS +.RE +.TP +.B \-\-target \f[I]TRIPLE\f[] +Check for the target triple. +.RS +.RE +.TP +.B \-\-manifest\-path \f[I]PATH\f[] +Path to the manifest to compile. +.RS +.RE +.TP +.B \-v, \-\-verbose +Use verbose output. +.RS +.RE +.TP +.B \-q, \-\-quiet +No output printed to stdout. +.RS +.RE +.TP +.B \-\-color \f[I]WHEN\f[] +Coloring: auto, always, never. +.RS +.RE +.SH EXAMPLES +.PP +Check a local package and all of its dependencies +.IP +.nf +\f[C] +$\ cargo\ check +\f[] +.fi +.PP +Check a package with optimizations +.IP +.nf +\f[C] +$\ cargo\ check\ \-\-release +\f[] +.fi +.SH SEE ALSO +.PP +cargo(1) +.SH COPYRIGHT +.PP +This work is dual\-licensed under Apache 2.0 and MIT terms. +See \f[I]COPYRIGHT\f[] file in the cargo source distribution. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 2017-01-27 09:31:37.000000000 +0100 @@ -57,6 +57,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 2017-01-27 09:31:37.000000000 +0100 @@ -5,8 +5,9 @@ cargo\-install \- Install a Rust binary .SH SYNOPSIS .PP -\f[I]cargo install\f[] [OPTIONS] <CRATE> \f[I]cargo install\f[] -[OPTIONS] \-\-list +\f[I]cargo install\f[] [OPTIONS] <CRATE> +.PP +\f[I]cargo install\f[] [OPTIONS] \-\-list .SH DESCRIPTION .PP Install a Rust binary @@ -98,6 +99,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-f, \-\-force Force overwriting existing crates or binaries .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 2017-01-27 09:31:37.000000000 +0100 @@ -22,6 +22,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not include the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 2017-01-27 09:31:37.000000000 +0100 @@ -21,11 +21,6 @@ .RS .RE .TP -.B \-\-host \f[I]HOST\f[] -Host to upload the package to. -.RS -.RE -.TP .B \-\-token \f[I]TOKEN\f[] Token to use when uploading. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 2017-01-27 09:31:37.000000000 +0100 @@ -51,6 +51,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 2017-01-27 09:31:37.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not compile default features for the package. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 2017-01-27 09:31:37.000000000 +0100 @@ -81,6 +81,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 2017-01-27 09:31:37.000000000 +0100 @@ -107,6 +107,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 2017-01-27 09:31:37.000000000 +0100 @@ -6,6 +6,7 @@ .SH SYNOPSIS .PP \f[I]cargo uninstall\f[] [OPTIONS] <SPEC> +.PP \f[I]cargo uninstall\f[] (\-h | \-\-help) .SH DESCRIPTION .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo 2016-11-03 14:25:03.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo 2017-01-27 09:31:37.000000000 +0100 @@ -20,6 +20,7 @@ bench) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -36,6 +37,7 @@ build) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -49,6 +51,23 @@ '--color=:colorization option:(auto always never)' \ ;; + check) + _arguments \ + '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ + '(-h, --help)'{-h,--help}'[show help message]' \ + '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ + "${command_scope_spec[@]}" \ + '--manifest-path=[path to manifest]: :_files -/' \ + '--no-default-features[do not check the default features]' \ + '(-p,--package)'{-p=,--package=}'[package to check]:packages:_get_package_names' \ + '--release=[check in release mode]' \ + '--target=[target triple]' \ + '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ + '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \ + '--color=:colorization option:(auto always never)' \ + ;; + clean) _arguments \ '(-h, --help)'{-h,--help}'[show help message]' \ @@ -64,6 +83,7 @@ doc) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -131,6 +151,7 @@ '--debug[build in debug mode instead of release mode]' \ '--example[install the specified example instead of binaries]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--git=[URL from which to install the crate]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ @@ -168,6 +189,7 @@ '--no-default-features[do not include the default feature]' \ '--manifest-path=[path to manifest]: :_files -/' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--format-version=[format version(default: 1)]' \ '--color=:colorization option:(auto always never)' \ ;; @@ -241,6 +263,7 @@ _arguments \ '--example=[name of the bin target]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -258,6 +281,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[features to compile for the package]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to fetch dependencies for]' \ @@ -275,6 +299,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[space-separated list of features to also build]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to document]' \ @@ -301,6 +326,7 @@ test) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -375,6 +401,7 @@ local -a commands;commands=( 'bench:execute all benchmarks of a local package' 'build:compile the current project' +'check:check the current project without compiling' 'clean:remove generated artifacts' 'doc:build package documentation' 'fetch:fetch package dependencies' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-arm-unknown-linux-gnueabihf/version new/cargo-nightly-arm-unknown-linux-gnueabihf/version --- old/cargo-0.13.0-arm-unknown-linux-gnueabihf/version 2016-11-03 14:19:25.000000000 +0100 +++ new/cargo-nightly-arm-unknown-linux-gnueabihf/version 2017-01-27 09:31:37.000000000 +0100 @@ -1 +1 @@ -0.13.0 (109cb7c 2016-08-19) +0.16.0-nightly (6e0c18c 2017-01-27) ++++++ cargo-0.13.0-armv7-unknown-linux-gnueabihf.tar.gz -> cargo-0.16.0-armv7-unknown-linux-gnueabihf.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/README.md new/cargo-nightly-armv7-unknown-linux-gnueabihf/README.md --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/README.md 2016-11-05 14:39:45.185000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/README.md 2017-01-27 09:31:55.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues Binary files old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/bin/cargo and new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/bin/cargo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo 2016-11-05 14:39:45.110000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/etc/bash_completion.d/cargo 2017-01-27 09:31:55.000000000 +0100 @@ -17,13 +17,14 @@ local opt_color='--color' local opt_common="$opt_help $opt_verbose $opt_quiet $opt_color" local opt_pkg='-p --package' - local opt_feat='--features --no-default-features' + local opt_feat='--features --all-features --no-default-features' local opt_mani='--manifest-path' local opt_jobs='-j --jobs' local opt___nocmd="$opt_common -V --version --list" local opt__bench="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --no-run" local opt__build="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --release" + local opt__check="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --example" local opt__clean="$opt_common $opt_pkg $opt_mani --target --release" local opt__doc="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --open --no-deps --release" local opt__fetch="$opt_common $opt_mani" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/manifest.in new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/manifest.in --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/manifest.in 2016-11-05 14:39:45.155000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/manifest.in 2017-01-27 09:31:55.000000000 +0100 @@ -6,6 +6,7 @@ file:share/doc/cargo/README.md file:share/man/man1/cargo-bench.1 file:share/man/man1/cargo-build.1 +file:share/man/man1/cargo-check.1 file:share/man/man1/cargo-clean.1 file:share/man/man1/cargo-doc.1 file:share/man/man1/cargo-fetch.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md 2016-11-05 14:39:45.120000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md 2017-01-27 09:31:55.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 2016-11-05 14:39:45.110000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-bench.1 2017-01-27 09:31:55.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 2016-11-05 14:39:45.110000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-build.1 2017-01-27 09:31:55.000000000 +0100 @@ -67,6 +67,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-features \f[I]FEATURES\f[] Space\-separated list of features to also build. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 1970-01-01 01:00:00.000000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-check.1 2017-01-27 09:31:55.000000000 +0100 @@ -0,0 +1,132 @@ +.TH "CARGO\-CHECK" "1" "May 2016" "The Rust package manager" "Cargo Manual" +.hy +.SH NAME +.PP +cargo\-check \- Check the current project +.SH SYNOPSIS +.PP +\f[I]cargo check\f[] [OPTIONS] +.SH DESCRIPTION +.PP +Check a local package and all of its dependencies. +.PP +If the \f[B]\-\-package\f[] argument is given, then \f[I]SPEC\f[] is a +package id specification which indicates which package should be checked. +If it is not given, then the current package is checked. +For more information on \f[I]SPEC\f[] and its format, see the "cargo +help pkgid" command. +.PP +Compilation can be configured via the use of profiles which are +configured in the manifest. +The default profile for this command is \f[I]dev\f[], but passing the +\f[B]\-\-release\f[] flag will use the \f[I]release\f[] profile instead. +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this message. +.RS +.RE +.TP +.B \-p \f[I]SPEC\f[], \-\-package \f[I]SPEC ...\f[] +Package to check. +.RS +.RE +.TP +.B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[] +Number of parallel jobs, defaults to # of CPUs. +.RS +.RE +.TP +.B \-\-lib +Check only this package\[aq]s library. +.RS +.RE +.TP +.B \-\-bin \f[I]NAME\f[] +Check only the specified binary. +.RS +.RE +.TP +.B \-\-example \f[I]NAME\f[] +Check only the specified example. +.RS +.RE +.TP +.B \-\-test \f[I]NAME\f[] +Check only the specified test target. +.RS +.RE +.TP +.B \-\-bench \f[I]NAME\f[] +Check only the specified benchmark target. +.RS +.RE +.TP +.B \-\-release +Check artifacts in release mode. +.RS +.RE +.TP +.B \-\-all\-features +Check with all available features. +.RS +.RE +.TP +.B \-\-features \f[I]FEATURES\f[] +Space\-separated list of features to also check. +.RS +.RE +.TP +.B \-\-no\-default\-features +Do not check the \f[C]default\f[] feature. +.RS +.RE +.TP +.B \-\-target \f[I]TRIPLE\f[] +Check for the target triple. +.RS +.RE +.TP +.B \-\-manifest\-path \f[I]PATH\f[] +Path to the manifest to compile. +.RS +.RE +.TP +.B \-v, \-\-verbose +Use verbose output. +.RS +.RE +.TP +.B \-q, \-\-quiet +No output printed to stdout. +.RS +.RE +.TP +.B \-\-color \f[I]WHEN\f[] +Coloring: auto, always, never. +.RS +.RE +.SH EXAMPLES +.PP +Check a local package and all of its dependencies +.IP +.nf +\f[C] +$\ cargo\ check +\f[] +.fi +.PP +Check a package with optimizations +.IP +.nf +\f[C] +$\ cargo\ check\ \-\-release +\f[] +.fi +.SH SEE ALSO +.PP +cargo(1) +.SH COPYRIGHT +.PP +This work is dual\-licensed under Apache 2.0 and MIT terms. +See \f[I]COPYRIGHT\f[] file in the cargo source distribution. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 2016-11-05 14:39:45.110000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-doc.1 2017-01-27 09:31:55.000000000 +0100 @@ -57,6 +57,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 2016-11-05 14:39:45.115000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-install.1 2017-01-27 09:31:55.000000000 +0100 @@ -5,8 +5,9 @@ cargo\-install \- Install a Rust binary .SH SYNOPSIS .PP -\f[I]cargo install\f[] [OPTIONS] <CRATE> \f[I]cargo install\f[] -[OPTIONS] \-\-list +\f[I]cargo install\f[] [OPTIONS] <CRATE> +.PP +\f[I]cargo install\f[] [OPTIONS] \-\-list .SH DESCRIPTION .PP Install a Rust binary @@ -98,6 +99,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-f, \-\-force Force overwriting existing crates or binaries .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 2016-11-05 14:39:45.115000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-metadata.1 2017-01-27 09:31:55.000000000 +0100 @@ -22,6 +22,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not include the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 2016-11-05 14:39:45.115000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-publish.1 2017-01-27 09:31:55.000000000 +0100 @@ -21,11 +21,6 @@ .RS .RE .TP -.B \-\-host \f[I]HOST\f[] -Host to upload the package to. -.RS -.RE -.TP .B \-\-token \f[I]TOKEN\f[] Token to use when uploading. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 2016-11-05 14:39:45.115000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-run.1 2017-01-27 09:31:55.000000000 +0100 @@ -51,6 +51,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 2016-11-05 14:39:45.115000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustc.1 2017-01-27 09:31:55.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not compile default features for the package. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 2016-11-05 14:39:45.115000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-rustdoc.1 2017-01-27 09:31:55.000000000 +0100 @@ -81,6 +81,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 2016-11-05 14:39:45.120000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-test.1 2017-01-27 09:31:55.000000000 +0100 @@ -107,6 +107,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 2016-11-05 14:39:45.120000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-uninstall.1 2017-01-27 09:31:55.000000000 +0100 @@ -6,6 +6,7 @@ .SH SYNOPSIS .PP \f[I]cargo uninstall\f[] [OPTIONS] <SPEC> +.PP \f[I]cargo uninstall\f[] (\-h | \-\-help) .SH DESCRIPTION .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo 2016-11-05 14:39:45.120000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo 2017-01-27 09:31:55.000000000 +0100 @@ -20,6 +20,7 @@ bench) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -36,6 +37,7 @@ build) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -49,6 +51,23 @@ '--color=:colorization option:(auto always never)' \ ;; + check) + _arguments \ + '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ + '(-h, --help)'{-h,--help}'[show help message]' \ + '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ + "${command_scope_spec[@]}" \ + '--manifest-path=[path to manifest]: :_files -/' \ + '--no-default-features[do not check the default features]' \ + '(-p,--package)'{-p=,--package=}'[package to check]:packages:_get_package_names' \ + '--release=[check in release mode]' \ + '--target=[target triple]' \ + '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ + '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \ + '--color=:colorization option:(auto always never)' \ + ;; + clean) _arguments \ '(-h, --help)'{-h,--help}'[show help message]' \ @@ -64,6 +83,7 @@ doc) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -131,6 +151,7 @@ '--debug[build in debug mode instead of release mode]' \ '--example[install the specified example instead of binaries]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--git=[URL from which to install the crate]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ @@ -168,6 +189,7 @@ '--no-default-features[do not include the default feature]' \ '--manifest-path=[path to manifest]: :_files -/' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--format-version=[format version(default: 1)]' \ '--color=:colorization option:(auto always never)' \ ;; @@ -241,6 +263,7 @@ _arguments \ '--example=[name of the bin target]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -258,6 +281,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[features to compile for the package]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to fetch dependencies for]' \ @@ -275,6 +299,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[space-separated list of features to also build]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to document]' \ @@ -301,6 +326,7 @@ test) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -375,6 +401,7 @@ local -a commands;commands=( 'bench:execute all benchmarks of a local package' 'build:compile the current project' +'check:check the current project without compiling' 'clean:remove generated artifacts' 'doc:build package documentation' 'fetch:fetch package dependencies' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/install.sh new/cargo-nightly-armv7-unknown-linux-gnueabihf/install.sh --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/install.sh 2016-11-05 14:39:45.525000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/install.sh 2017-01-27 09:31:55.000000000 +0100 @@ -360,28 +360,12 @@ _ostype=pc-windows-gnu ;; - # Vista 32 bit - CYGWIN_NT-6.0) - _ostype=pc-windows-gnu - ;; - - # Vista 64 bit - CYGWIN_NT-6.0-WOW64) - _ostype=pc-windows-gnu - ;; - - # Win 7 32 bit - CYGWIN_NT-6.1) - _ostype=pc-windows-gnu - ;; - - # Win 7 64 bit - CYGWIN_NT-6.1-WOW64) + CYGWIN*) _ostype=pc-windows-gnu ;; *) - err "unknown value from uname -s: $uname_value" + err "unknown value from uname -s: $_uname_value" ;; esac @@ -640,6 +624,25 @@ _file_install_path="$CFG_MANDIR/$_f" fi + # HACK: Try to support overriding --docdir. Paths with the form + # "share/doc/$product/" can be redirected to a single --docdir + # path. If the following detects that --docdir has been specified + # then it will replace everything preceeding the "$product" path + # component. The problem here is that the combined rust installer + # contains two "products": rust and cargo; so the contents of those + # directories will both be dumped into the same directory; and the + # contents of those directories are _not_ disjoint. Since this feature + # is almost entirely to support 'make install' anyway I don't expect + # this problem to be a big deal in practice. + if [ "$CFG_DOCDIR" != "<default>" ] + then + if echo "$_file" | grep "^share/doc/" > /dev/null + then + local _f="$(echo "$_file" | sed 's/^share\/doc\/[^/]*\///')" + _file_install_path="$CFG_DOCDIR/$_f" + fi + fi + # Make sure there's a directory for it make_dir_recursive "$(dirname "$_file_install_path")" critical_need_ok "directory creation failed" @@ -850,6 +853,9 @@ flag list-components "list available components" valopt libdir "$CFG_DESTDIR_PREFIX/lib" "install libraries" valopt mandir "$CFG_DESTDIR_PREFIX/share/man" "install man pages in PATH" +# NB See the docdir handling in install_components for an explanation of this +# weird <default> string +valopt docdir "\<default\>" "install documentation in PATH" opt ldconfig 1 "run ldconfig after installation (Linux only)" opt verify 1 "obsolete" flag verbose "run with verbose output" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/version new/cargo-nightly-armv7-unknown-linux-gnueabihf/version --- old/cargo-0.13.0-armv7-unknown-linux-gnueabihf/version 2016-11-05 14:39:45.180000000 +0100 +++ new/cargo-nightly-armv7-unknown-linux-gnueabihf/version 2017-01-27 09:31:55.000000000 +0100 @@ -1 +1 @@ -0.13.0 (built 2016-11-05) +0.16.0-nightly (6e0c18c 2017-01-27) ++++++ cargo-0.13.0-i686-unknown-linux-gnu.tar.gz -> cargo-0.16.0-i686-unknown-linux-gnu.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/README.md new/cargo-nightly-i686-unknown-linux-gnu/README.md --- old/cargo-0.13.0-i686-unknown-linux-gnu/README.md 2016-11-05 14:30:18.928000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/README.md 2017-01-27 09:13:25.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues Binary files old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/bin/cargo and new/cargo-nightly-i686-unknown-linux-gnu/cargo/bin/cargo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo new/cargo-nightly-i686-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2016-11-05 14:30:18.876000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2017-01-27 09:13:25.000000000 +0100 @@ -17,13 +17,14 @@ local opt_color='--color' local opt_common="$opt_help $opt_verbose $opt_quiet $opt_color" local opt_pkg='-p --package' - local opt_feat='--features --no-default-features' + local opt_feat='--features --all-features --no-default-features' local opt_mani='--manifest-path' local opt_jobs='-j --jobs' local opt___nocmd="$opt_common -V --version --list" local opt__bench="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --no-run" local opt__build="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --release" + local opt__check="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --example" local opt__clean="$opt_common $opt_pkg $opt_mani --target --release" local opt__doc="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --open --no-deps --release" local opt__fetch="$opt_common $opt_mani" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/manifest.in new/cargo-nightly-i686-unknown-linux-gnu/cargo/manifest.in --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/manifest.in 2016-11-05 14:30:18.912000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/manifest.in 2017-01-27 09:13:25.000000000 +0100 @@ -6,6 +6,7 @@ file:share/doc/cargo/README.md file:share/man/man1/cargo-bench.1 file:share/man/man1/cargo-build.1 +file:share/man/man1/cargo-check.1 file:share/man/man1/cargo-clean.1 file:share/man/man1/cargo-doc.1 file:share/man/man1/cargo-fetch.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2016-11-05 14:30:18.880000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-01-27 09:13:25.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 2016-11-05 14:30:18.876000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 2017-01-27 09:13:25.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 2016-11-05 14:30:18.876000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 2017-01-27 09:13:25.000000000 +0100 @@ -67,6 +67,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-features \f[I]FEATURES\f[] Space\-separated list of features to also build. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 1970-01-01 01:00:00.000000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 2017-01-27 09:13:25.000000000 +0100 @@ -0,0 +1,132 @@ +.TH "CARGO\-CHECK" "1" "May 2016" "The Rust package manager" "Cargo Manual" +.hy +.SH NAME +.PP +cargo\-check \- Check the current project +.SH SYNOPSIS +.PP +\f[I]cargo check\f[] [OPTIONS] +.SH DESCRIPTION +.PP +Check a local package and all of its dependencies. +.PP +If the \f[B]\-\-package\f[] argument is given, then \f[I]SPEC\f[] is a +package id specification which indicates which package should be checked. +If it is not given, then the current package is checked. +For more information on \f[I]SPEC\f[] and its format, see the "cargo +help pkgid" command. +.PP +Compilation can be configured via the use of profiles which are +configured in the manifest. +The default profile for this command is \f[I]dev\f[], but passing the +\f[B]\-\-release\f[] flag will use the \f[I]release\f[] profile instead. +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this message. +.RS +.RE +.TP +.B \-p \f[I]SPEC\f[], \-\-package \f[I]SPEC ...\f[] +Package to check. +.RS +.RE +.TP +.B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[] +Number of parallel jobs, defaults to # of CPUs. +.RS +.RE +.TP +.B \-\-lib +Check only this package\[aq]s library. +.RS +.RE +.TP +.B \-\-bin \f[I]NAME\f[] +Check only the specified binary. +.RS +.RE +.TP +.B \-\-example \f[I]NAME\f[] +Check only the specified example. +.RS +.RE +.TP +.B \-\-test \f[I]NAME\f[] +Check only the specified test target. +.RS +.RE +.TP +.B \-\-bench \f[I]NAME\f[] +Check only the specified benchmark target. +.RS +.RE +.TP +.B \-\-release +Check artifacts in release mode. +.RS +.RE +.TP +.B \-\-all\-features +Check with all available features. +.RS +.RE +.TP +.B \-\-features \f[I]FEATURES\f[] +Space\-separated list of features to also check. +.RS +.RE +.TP +.B \-\-no\-default\-features +Do not check the \f[C]default\f[] feature. +.RS +.RE +.TP +.B \-\-target \f[I]TRIPLE\f[] +Check for the target triple. +.RS +.RE +.TP +.B \-\-manifest\-path \f[I]PATH\f[] +Path to the manifest to compile. +.RS +.RE +.TP +.B \-v, \-\-verbose +Use verbose output. +.RS +.RE +.TP +.B \-q, \-\-quiet +No output printed to stdout. +.RS +.RE +.TP +.B \-\-color \f[I]WHEN\f[] +Coloring: auto, always, never. +.RS +.RE +.SH EXAMPLES +.PP +Check a local package and all of its dependencies +.IP +.nf +\f[C] +$\ cargo\ check +\f[] +.fi +.PP +Check a package with optimizations +.IP +.nf +\f[C] +$\ cargo\ check\ \-\-release +\f[] +.fi +.SH SEE ALSO +.PP +cargo(1) +.SH COPYRIGHT +.PP +This work is dual\-licensed under Apache 2.0 and MIT terms. +See \f[I]COPYRIGHT\f[] file in the cargo source distribution. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 2016-11-05 14:30:18.876000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 2017-01-27 09:13:25.000000000 +0100 @@ -57,6 +57,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 2016-11-05 14:30:18.876000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 2017-01-27 09:13:25.000000000 +0100 @@ -5,8 +5,9 @@ cargo\-install \- Install a Rust binary .SH SYNOPSIS .PP -\f[I]cargo install\f[] [OPTIONS] <CRATE> \f[I]cargo install\f[] -[OPTIONS] \-\-list +\f[I]cargo install\f[] [OPTIONS] <CRATE> +.PP +\f[I]cargo install\f[] [OPTIONS] \-\-list .SH DESCRIPTION .PP Install a Rust binary @@ -98,6 +99,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-f, \-\-force Force overwriting existing crates or binaries .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 2016-11-05 14:30:18.876000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 2017-01-27 09:13:25.000000000 +0100 @@ -22,6 +22,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not include the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 2016-11-05 14:30:18.880000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 2017-01-27 09:13:25.000000000 +0100 @@ -21,11 +21,6 @@ .RS .RE .TP -.B \-\-host \f[I]HOST\f[] -Host to upload the package to. -.RS -.RE -.TP .B \-\-token \f[I]TOKEN\f[] Token to use when uploading. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 2016-11-05 14:30:18.880000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 2017-01-27 09:13:25.000000000 +0100 @@ -51,6 +51,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 2016-11-05 14:30:18.880000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 2017-01-27 09:13:25.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not compile default features for the package. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 2016-11-05 14:30:18.880000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 2017-01-27 09:13:25.000000000 +0100 @@ -81,6 +81,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 2016-11-05 14:30:18.880000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 2017-01-27 09:13:25.000000000 +0100 @@ -107,6 +107,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 2016-11-05 14:30:18.880000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 2017-01-27 09:13:25.000000000 +0100 @@ -6,6 +6,7 @@ .SH SYNOPSIS .PP \f[I]cargo uninstall\f[] [OPTIONS] <SPEC> +.PP \f[I]cargo uninstall\f[] (\-h | \-\-help) .SH DESCRIPTION .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo --- old/cargo-0.13.0-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2016-11-05 14:30:18.884000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-01-27 09:13:25.000000000 +0100 @@ -20,6 +20,7 @@ bench) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -36,6 +37,7 @@ build) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -49,6 +51,23 @@ '--color=:colorization option:(auto always never)' \ ;; + check) + _arguments \ + '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ + '(-h, --help)'{-h,--help}'[show help message]' \ + '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ + "${command_scope_spec[@]}" \ + '--manifest-path=[path to manifest]: :_files -/' \ + '--no-default-features[do not check the default features]' \ + '(-p,--package)'{-p=,--package=}'[package to check]:packages:_get_package_names' \ + '--release=[check in release mode]' \ + '--target=[target triple]' \ + '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ + '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \ + '--color=:colorization option:(auto always never)' \ + ;; + clean) _arguments \ '(-h, --help)'{-h,--help}'[show help message]' \ @@ -64,6 +83,7 @@ doc) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -131,6 +151,7 @@ '--debug[build in debug mode instead of release mode]' \ '--example[install the specified example instead of binaries]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--git=[URL from which to install the crate]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ @@ -168,6 +189,7 @@ '--no-default-features[do not include the default feature]' \ '--manifest-path=[path to manifest]: :_files -/' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--format-version=[format version(default: 1)]' \ '--color=:colorization option:(auto always never)' \ ;; @@ -241,6 +263,7 @@ _arguments \ '--example=[name of the bin target]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -258,6 +281,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[features to compile for the package]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to fetch dependencies for]' \ @@ -275,6 +299,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[space-separated list of features to also build]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to document]' \ @@ -301,6 +326,7 @@ test) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -375,6 +401,7 @@ local -a commands;commands=( 'bench:execute all benchmarks of a local package' 'build:compile the current project' +'check:check the current project without compiling' 'clean:remove generated artifacts' 'doc:build package documentation' 'fetch:fetch package dependencies' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/install.sh new/cargo-nightly-i686-unknown-linux-gnu/install.sh --- old/cargo-0.13.0-i686-unknown-linux-gnu/install.sh 2016-11-05 14:30:19.160000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/install.sh 2017-01-27 09:13:25.000000000 +0100 @@ -360,28 +360,12 @@ _ostype=pc-windows-gnu ;; - # Vista 32 bit - CYGWIN_NT-6.0) - _ostype=pc-windows-gnu - ;; - - # Vista 64 bit - CYGWIN_NT-6.0-WOW64) - _ostype=pc-windows-gnu - ;; - - # Win 7 32 bit - CYGWIN_NT-6.1) - _ostype=pc-windows-gnu - ;; - - # Win 7 64 bit - CYGWIN_NT-6.1-WOW64) + CYGWIN*) _ostype=pc-windows-gnu ;; *) - err "unknown value from uname -s: $uname_value" + err "unknown value from uname -s: $_uname_value" ;; esac @@ -640,6 +624,25 @@ _file_install_path="$CFG_MANDIR/$_f" fi + # HACK: Try to support overriding --docdir. Paths with the form + # "share/doc/$product/" can be redirected to a single --docdir + # path. If the following detects that --docdir has been specified + # then it will replace everything preceeding the "$product" path + # component. The problem here is that the combined rust installer + # contains two "products": rust and cargo; so the contents of those + # directories will both be dumped into the same directory; and the + # contents of those directories are _not_ disjoint. Since this feature + # is almost entirely to support 'make install' anyway I don't expect + # this problem to be a big deal in practice. + if [ "$CFG_DOCDIR" != "<default>" ] + then + if echo "$_file" | grep "^share/doc/" > /dev/null + then + local _f="$(echo "$_file" | sed 's/^share\/doc\/[^/]*\///')" + _file_install_path="$CFG_DOCDIR/$_f" + fi + fi + # Make sure there's a directory for it make_dir_recursive "$(dirname "$_file_install_path")" critical_need_ok "directory creation failed" @@ -850,6 +853,9 @@ flag list-components "list available components" valopt libdir "$CFG_DESTDIR_PREFIX/lib" "install libraries" valopt mandir "$CFG_DESTDIR_PREFIX/share/man" "install man pages in PATH" +# NB See the docdir handling in install_components for an explanation of this +# weird <default> string +valopt docdir "\<default\>" "install documentation in PATH" opt ldconfig 1 "run ldconfig after installation (Linux only)" opt verify 1 "obsolete" flag verbose "run with verbose output" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-i686-unknown-linux-gnu/version new/cargo-nightly-i686-unknown-linux-gnu/version --- old/cargo-0.13.0-i686-unknown-linux-gnu/version 2016-11-05 14:30:18.924000000 +0100 +++ new/cargo-nightly-i686-unknown-linux-gnu/version 2017-01-27 09:13:25.000000000 +0100 @@ -1 +1 @@ -0.13.0 (built 2016-11-05) +0.16.0-nightly (6e0c18c 2017-01-27) ++++++ cargo-0.13.0-x86_64-unknown-linux-gnu.tar.gz -> cargo-0.16.0-x86_64-unknown-linux-gnu.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/README.md new/cargo-nightly-x86_64-unknown-linux-gnu/README.md --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/README.md 2016-11-05 14:28:55.908000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/README.md 2017-01-27 09:19:36.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues Binary files old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/bin/cargo and new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2016-11-05 14:28:55.876000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2017-01-27 09:19:36.000000000 +0100 @@ -17,13 +17,14 @@ local opt_color='--color' local opt_common="$opt_help $opt_verbose $opt_quiet $opt_color" local opt_pkg='-p --package' - local opt_feat='--features --no-default-features' + local opt_feat='--features --all-features --no-default-features' local opt_mani='--manifest-path' local opt_jobs='-j --jobs' local opt___nocmd="$opt_common -V --version --list" local opt__bench="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --no-run" local opt__build="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --release" + local opt__check="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --example" local opt__clean="$opt_common $opt_pkg $opt_mani --target --release" local opt__doc="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --open --no-deps --release" local opt__fetch="$opt_common $opt_mani" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/manifest.in new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/manifest.in --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/manifest.in 2016-11-05 14:28:55.900000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/manifest.in 2017-01-27 09:19:36.000000000 +0100 @@ -6,6 +6,7 @@ file:share/doc/cargo/README.md file:share/man/man1/cargo-bench.1 file:share/man/man1/cargo-build.1 +file:share/man/man1/cargo-check.1 file:share/man/man1/cargo-clean.1 file:share/man/man1/cargo-doc.1 file:share/man/man1/cargo-fetch.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-01-27 09:19:36.000000000 +0100 @@ -76,6 +76,12 @@ $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify @@ -96,9 +102,33 @@ open target/doc/index.html ``` -## Release notes +## Releases + +High level release notes are available as part of [Rust's release notes][rel]. +Cargo releases coincide with Rust releases. + +[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md + +<details> + <summary>Table of Rust versions with their Cargo versions</summary> + +Rust version | Cargo version +-------------|--------------| + 1.12.0 | 0.13.0 | + 1.11.0 | 0.12.0 | + 1.10.0 | 0.11.0 | + 1.9.0 | 0.10.0 | + 1.8.0 | 0.9.0 | + 1.7.0 | 0.8.0 | + 1.6.0 | 0.7.0 | + 1.5.0 | 0.6.0 | + 1.4.0 | 0.5.0 | + 1.3.0 | 0.4.0 | + 1.2.0 | 0.3.0 | + 1.1.0 | 0.2.0 | + 1.0.0 | 0.1.0 | -High level release notes are available as part of [Rust's release notes](https://github.com/rust-lang/rust/blob/master/RELEASES.md). +</details> ## Reporting Issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1 2017-01-27 09:19:36.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1 2017-01-27 09:19:36.000000000 +0100 @@ -67,6 +67,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-features \f[I]FEATURES\f[] Space\-separated list of features to also build. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 1970-01-01 01:00:00.000000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-check.1 2017-01-27 09:19:36.000000000 +0100 @@ -0,0 +1,132 @@ +.TH "CARGO\-CHECK" "1" "May 2016" "The Rust package manager" "Cargo Manual" +.hy +.SH NAME +.PP +cargo\-check \- Check the current project +.SH SYNOPSIS +.PP +\f[I]cargo check\f[] [OPTIONS] +.SH DESCRIPTION +.PP +Check a local package and all of its dependencies. +.PP +If the \f[B]\-\-package\f[] argument is given, then \f[I]SPEC\f[] is a +package id specification which indicates which package should be checked. +If it is not given, then the current package is checked. +For more information on \f[I]SPEC\f[] and its format, see the "cargo +help pkgid" command. +.PP +Compilation can be configured via the use of profiles which are +configured in the manifest. +The default profile for this command is \f[I]dev\f[], but passing the +\f[B]\-\-release\f[] flag will use the \f[I]release\f[] profile instead. +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this message. +.RS +.RE +.TP +.B \-p \f[I]SPEC\f[], \-\-package \f[I]SPEC ...\f[] +Package to check. +.RS +.RE +.TP +.B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[] +Number of parallel jobs, defaults to # of CPUs. +.RS +.RE +.TP +.B \-\-lib +Check only this package\[aq]s library. +.RS +.RE +.TP +.B \-\-bin \f[I]NAME\f[] +Check only the specified binary. +.RS +.RE +.TP +.B \-\-example \f[I]NAME\f[] +Check only the specified example. +.RS +.RE +.TP +.B \-\-test \f[I]NAME\f[] +Check only the specified test target. +.RS +.RE +.TP +.B \-\-bench \f[I]NAME\f[] +Check only the specified benchmark target. +.RS +.RE +.TP +.B \-\-release +Check artifacts in release mode. +.RS +.RE +.TP +.B \-\-all\-features +Check with all available features. +.RS +.RE +.TP +.B \-\-features \f[I]FEATURES\f[] +Space\-separated list of features to also check. +.RS +.RE +.TP +.B \-\-no\-default\-features +Do not check the \f[C]default\f[] feature. +.RS +.RE +.TP +.B \-\-target \f[I]TRIPLE\f[] +Check for the target triple. +.RS +.RE +.TP +.B \-\-manifest\-path \f[I]PATH\f[] +Path to the manifest to compile. +.RS +.RE +.TP +.B \-v, \-\-verbose +Use verbose output. +.RS +.RE +.TP +.B \-q, \-\-quiet +No output printed to stdout. +.RS +.RE +.TP +.B \-\-color \f[I]WHEN\f[] +Coloring: auto, always, never. +.RS +.RE +.SH EXAMPLES +.PP +Check a local package and all of its dependencies +.IP +.nf +\f[C] +$\ cargo\ check +\f[] +.fi +.PP +Check a package with optimizations +.IP +.nf +\f[C] +$\ cargo\ check\ \-\-release +\f[] +.fi +.SH SEE ALSO +.PP +cargo(1) +.SH COPYRIGHT +.PP +This work is dual\-licensed under Apache 2.0 and MIT terms. +See \f[I]COPYRIGHT\f[] file in the cargo source distribution. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1 2017-01-27 09:19:36.000000000 +0100 @@ -57,6 +57,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1 2017-01-27 09:19:36.000000000 +0100 @@ -5,8 +5,9 @@ cargo\-install \- Install a Rust binary .SH SYNOPSIS .PP -\f[I]cargo install\f[] [OPTIONS] <CRATE> \f[I]cargo install\f[] -[OPTIONS] \-\-list +\f[I]cargo install\f[] [OPTIONS] <CRATE> +.PP +\f[I]cargo install\f[] [OPTIONS] \-\-list .SH DESCRIPTION .PP Install a Rust binary @@ -98,6 +99,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-f, \-\-force Force overwriting existing crates or binaries .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1 2017-01-27 09:19:36.000000000 +0100 @@ -22,6 +22,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not include the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1 2017-01-27 09:19:36.000000000 +0100 @@ -21,11 +21,6 @@ .RS .RE .TP -.B \-\-host \f[I]HOST\f[] -Host to upload the package to. -.RS -.RE -.TP .B \-\-token \f[I]TOKEN\f[] Token to use when uploading. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1 2017-01-27 09:19:36.000000000 +0100 @@ -51,6 +51,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1 2017-01-27 09:19:36.000000000 +0100 @@ -83,6 +83,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not compile default features for the package. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1 2017-01-27 09:19:36.000000000 +0100 @@ -81,6 +81,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1 2017-01-27 09:19:36.000000000 +0100 @@ -107,6 +107,11 @@ .RS .RE .TP +.B \-\-all\-features +Build all available features. +.RS +.RE +.TP .B \-\-no\-default\-features Do not build the \f[C]default\f[] feature. .RS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1 2017-01-27 09:19:36.000000000 +0100 @@ -6,6 +6,7 @@ .SH SYNOPSIS .PP \f[I]cargo uninstall\f[] [OPTIONS] <SPEC> +.PP \f[I]cargo uninstall\f[] (\-h | \-\-help) .SH DESCRIPTION .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2016-11-05 14:28:55.880000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-01-27 09:19:36.000000000 +0100 @@ -20,6 +20,7 @@ bench) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -36,6 +37,7 @@ build) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ "${command_scope_spec[@]}" \ @@ -49,6 +51,23 @@ '--color=:colorization option:(auto always never)' \ ;; + check) + _arguments \ + '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ + '(-h, --help)'{-h,--help}'[show help message]' \ + '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ + "${command_scope_spec[@]}" \ + '--manifest-path=[path to manifest]: :_files -/' \ + '--no-default-features[do not check the default features]' \ + '(-p,--package)'{-p=,--package=}'[package to check]:packages:_get_package_names' \ + '--release=[check in release mode]' \ + '--target=[target triple]' \ + '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ + '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \ + '--color=:colorization option:(auto always never)' \ + ;; + clean) _arguments \ '(-h, --help)'{-h,--help}'[show help message]' \ @@ -64,6 +83,7 @@ doc) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -131,6 +151,7 @@ '--debug[build in debug mode instead of release mode]' \ '--example[install the specified example instead of binaries]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--git=[URL from which to install the crate]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ @@ -168,6 +189,7 @@ '--no-default-features[do not include the default feature]' \ '--manifest-path=[path to manifest]: :_files -/' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '--format-version=[format version(default: 1)]' \ '--color=:colorization option:(auto always never)' \ ;; @@ -241,6 +263,7 @@ _arguments \ '--example=[name of the bin target]' \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -258,6 +281,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[features to compile for the package]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to fetch dependencies for]' \ @@ -275,6 +299,7 @@ _arguments \ '--color=:colorization option:(auto always never)' \ '--features=[space-separated list of features to also build]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to the manifest to document]' \ @@ -301,6 +326,7 @@ test) _arguments \ '--features=[space separated feature list]' \ + '--all-features[enable all available features]' \ '(-h, --help)'{-h,--help}'[show help message]' \ '(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \ '--manifest-path=[path to manifest]: :_files -/' \ @@ -375,6 +401,7 @@ local -a commands;commands=( 'bench:execute all benchmarks of a local package' 'build:compile the current project' +'check:check the current project without compiling' 'clean:remove generated artifacts' 'doc:build package documentation' 'fetch:fetch package dependencies' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/install.sh new/cargo-nightly-x86_64-unknown-linux-gnu/install.sh --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/install.sh 2016-11-05 14:28:56.052000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/install.sh 2017-01-27 09:19:36.000000000 +0100 @@ -360,28 +360,12 @@ _ostype=pc-windows-gnu ;; - # Vista 32 bit - CYGWIN_NT-6.0) - _ostype=pc-windows-gnu - ;; - - # Vista 64 bit - CYGWIN_NT-6.0-WOW64) - _ostype=pc-windows-gnu - ;; - - # Win 7 32 bit - CYGWIN_NT-6.1) - _ostype=pc-windows-gnu - ;; - - # Win 7 64 bit - CYGWIN_NT-6.1-WOW64) + CYGWIN*) _ostype=pc-windows-gnu ;; *) - err "unknown value from uname -s: $uname_value" + err "unknown value from uname -s: $_uname_value" ;; esac @@ -640,6 +624,25 @@ _file_install_path="$CFG_MANDIR/$_f" fi + # HACK: Try to support overriding --docdir. Paths with the form + # "share/doc/$product/" can be redirected to a single --docdir + # path. If the following detects that --docdir has been specified + # then it will replace everything preceeding the "$product" path + # component. The problem here is that the combined rust installer + # contains two "products": rust and cargo; so the contents of those + # directories will both be dumped into the same directory; and the + # contents of those directories are _not_ disjoint. Since this feature + # is almost entirely to support 'make install' anyway I don't expect + # this problem to be a big deal in practice. + if [ "$CFG_DOCDIR" != "<default>" ] + then + if echo "$_file" | grep "^share/doc/" > /dev/null + then + local _f="$(echo "$_file" | sed 's/^share\/doc\/[^/]*\///')" + _file_install_path="$CFG_DOCDIR/$_f" + fi + fi + # Make sure there's a directory for it make_dir_recursive "$(dirname "$_file_install_path")" critical_need_ok "directory creation failed" @@ -850,6 +853,9 @@ flag list-components "list available components" valopt libdir "$CFG_DESTDIR_PREFIX/lib" "install libraries" valopt mandir "$CFG_DESTDIR_PREFIX/share/man" "install man pages in PATH" +# NB See the docdir handling in install_components for an explanation of this +# weird <default> string +valopt docdir "\<default\>" "install documentation in PATH" opt ldconfig 1 "run ldconfig after installation (Linux only)" opt verify 1 "obsolete" flag verbose "run with verbose output" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.13.0-x86_64-unknown-linux-gnu/version new/cargo-nightly-x86_64-unknown-linux-gnu/version --- old/cargo-0.13.0-x86_64-unknown-linux-gnu/version 2016-11-05 14:28:55.908000000 +0100 +++ new/cargo-nightly-x86_64-unknown-linux-gnu/version 2017-01-27 09:19:36.000000000 +0100 @@ -1 +1 @@ -0.13.0 (built 2016-11-05) +0.16.0-nightly (6e0c18c 2017-01-27)