]> git.proxmox.com Git - cargo.git/log
cargo.git
9 years agochange search help to better message
Mitsutaka Mimura [Tue, 5 May 2015 02:13:04 +0000 (11:13 +0900)]
change search help to better message

9 years agoadd search to help
Mitsutaka Mimura [Tue, 5 May 2015 01:59:05 +0000 (10:59 +0900)]
add search to help

9 years agoAuto merge of #1574 - alexcrichton:rustup, r=alexcrichton
bors [Sun, 3 May 2015 19:43:40 +0000 (19:43 +0000)]
Auto merge of #1574 - alexcrichton:rustup, r=alexcrichton

9 years agoUpdate to rust master, picking up metadata mtime changes
Alex Crichton [Sun, 3 May 2015 19:41:04 +0000 (12:41 -0700)]
Update to rust master, picking up metadata mtime changes

This commit adds a new `MTime` structure specifically for dealing with
modification times across platforms.

9 years agoLoosen the dependency versions in Cargo.toml
Jakub Bukaj [Sun, 26 Apr 2015 21:42:55 +0000 (23:42 +0200)]
Loosen the dependency versions in Cargo.toml

9 years agoAuto merge of #1566 - alexcrichton:fix-transitive-update-dash-p, r=brson
bors [Thu, 30 Apr 2015 02:11:47 +0000 (02:11 +0000)]
Auto merge of #1566 - alexcrichton:fix-transitive-update-dash-p, r=brson

Currently when a dependency is transitively updated the source may not itself be
updated, so an update may not happen at all. This commit modifies this behavior
to be sure to add the non-updated source to the registry for any matching
package which will trigger the source to update itself.

9 years agoAuto merge of #1564 - alexcrichton:right-timeout, r=brson
bors [Thu, 30 Apr 2015 01:48:01 +0000 (01:48 +0000)]
Auto merge of #1564 - alexcrichton:right-timeout, r=brson

Previously a timeout was set via libcurl's blanket timeout option, which is a
timeout for the entire request. This isn't always what we want, however, as
cargo is used on quite a variety of networks. Instead what we really want is
timing out data being received, so instead of a blanket timeout we set two
different timeouts:

* The connect timeout is now configured (time it takes to connect the socket)
* A "low speed" timeout is now also set. This means that if Cargo doesn't
  receive 10 bytes of data in the specified tiemout period that the entire
  transfer will be timed out.

Closes #1560

9 years agoTweak the meaning of HTTP timeouts
Alex Crichton [Wed, 29 Apr 2015 18:58:13 +0000 (11:58 -0700)]
Tweak the meaning of HTTP timeouts

Previously a timeout was set via libcurl's blanket timeout option, which is a
timeout for the entire request. This isn't always what we want, however, as
cargo is used on quite a variety of networks. Instead what we really want is
timing out data being received, so instead of a blanket timeout we set two
different timeouts:

* The connect timeout is now configured (time it takes to connect the socket)
* A "low speed" timeout is now also set. This means that if Cargo doesn't
  receive 10 bytes of data in the specified tiemout period that the entire
  transfer will be timed out.

Closes #1560

9 years agoFix transitively updating dependencies
Alex Crichton [Thu, 30 Apr 2015 01:42:52 +0000 (18:42 -0700)]
Fix transitively updating dependencies

Currently when a dependency is transitively updated the source may not itself be
updated, so an update may not happen at all. This commit modifies this behavior
to be sure to add the non-updated source to the registry for any matching
package which will trigger the source to update itself.

9 years agoAuto merge of #1559 - alexcrichton:platform-specific-deps++, r=brson
bors [Wed, 29 Apr 2015 20:38:14 +0000 (20:38 +0000)]
Auto merge of #1559 - alexcrichton:platform-specific-deps++, r=brson

They're available at the top-level, so no reason to not expose them at the
target level as well!

Closes #1464

9 years agoAuto merge of #1563 - alexcrichton:ar-linker-for-plugins, r=alexcrichton
bors [Wed, 29 Apr 2015 19:29:58 +0000 (19:29 +0000)]
Auto merge of #1563 - alexcrichton:ar-linker-for-plugins, r=alexcrichton

Just touching up a test so hopefully it can pass on Windows!

9 years agoAuto merge of #1562 - alexcrichton:doc-include, r=alexcrichton
bors [Wed, 29 Apr 2015 19:18:08 +0000 (19:18 +0000)]
Auto merge of #1562 - alexcrichton:doc-include, r=alexcrichton

Just adding a few nits of my own.

9 years agoAuto merge of #1558 - alexcrichton:less-hashes, r=brson
bors [Wed, 29 Apr 2015 19:04:31 +0000 (19:04 +0000)]
Auto merge of #1558 - alexcrichton:less-hashes, r=brson

The root crate often has artifacts which are later intended for distribution of
some form, so adding a hash will just make predicting the file name difficult.
The hash also isn't necessary as it's guaranteed to not conflict with other
files (no other dependencies are in the same directory) and all other libraries
have metadata so symbols will not conflict.

Closes #1484

9 years agoUpdate dependencies
Alex Crichton [Wed, 29 Apr 2015 18:57:50 +0000 (11:57 -0700)]
Update dependencies

Primarily pick up an update to curl-rust which transitively means we need to
update openssl for other deps

9 years agoAuto merge of #1505 - alexcrichton:issue-1478, r=brson
bors [Wed, 29 Apr 2015 18:51:34 +0000 (18:51 +0000)]
Auto merge of #1505 - alexcrichton:issue-1478, r=brson

This commit enables the build script for a crate to provide feedback to the
crate itself about how it should be built. This is done through the `--cfg`
flags of the compiler, and each build script is now allowed to print `rustc-cfg`
directives to inform Cargo about what `--cfg` flags it should pass.

All `--cfg` flags are local to the current crate and are not propagated outwards
to transitive dependencies. The primary use-case that this feature is targeting
is compile-time feature detection for applications like C bindings or C
libraries where the version being targeted may change over time.

Closes #1478

9 years agoAuto merge of #1557 - alexcrichton:exhaustive, r=brson
bors [Wed, 29 Apr 2015 18:35:16 +0000 (18:35 +0000)]
Auto merge of #1557 - alexcrichton:exhaustive, r=brson

This commit fills out the functionality of `--lib`, `--test`, `--bin`,
`--bench`, and `--example` for the `cargo {test,build,bench}` commands all at
once. The support for all of this was introduced long ago, and the flags just
weren't exposed at the time.

9 years agoRelax the test for ar/linker with plugins
Alex Crichton [Wed, 29 Apr 2015 18:30:20 +0000 (11:30 -0700)]
Relax the test for ar/linker with plugins

On windows it won't actually succeed or get past the first compile with cc/ar,
so just set it to something that for sure won't exist so it doesn't progress on
*any* platform.

9 years agoMerge branch 'ar-linker-host' of https://github.com/japaric/cargo into ar-linker...
Alex Crichton [Wed, 29 Apr 2015 18:28:06 +0000 (11:28 -0700)]
Merge branch 'ar-linker-host' of https://github.com/japaric/cargo into ar-linker-for-plugins

9 years agoTouch up the `include` docs a bit
Alex Crichton [Wed, 29 Apr 2015 18:26:01 +0000 (11:26 -0700)]
Touch up the `include` docs a bit

9 years agoMerge branch 'doc-include' of https://github.com/huonw/cargo into doc-include
Alex Crichton [Wed, 29 Apr 2015 18:23:01 +0000 (11:23 -0700)]
Merge branch 'doc-include' of https://github.com/huonw/cargo into doc-include

9 years agoAuto merge of #1561 - alexcrichton:cargo-test-release, r=alexcrichton
bors [Wed, 29 Apr 2015 18:22:12 +0000 (18:22 +0000)]
Auto merge of #1561 - alexcrichton:cargo-test-release, r=alexcrichton

This just fixes up the test so it can pass the bots.

9 years agoFix the test for `cargo test --release`
Alex Crichton [Wed, 29 Apr 2015 18:19:53 +0000 (11:19 -0700)]
Fix the test for `cargo test --release`

9 years agoMerge branch 'addrelease' of https://github.com/psdh/cargo into cargo-test-release
Alex Crichton [Wed, 29 Apr 2015 18:07:05 +0000 (11:07 -0700)]
Merge branch 'addrelease' of https://github.com/psdh/cargo into cargo-test-release

9 years agoDon't put hashes in libraries of the root crate
Alex Crichton [Wed, 29 Apr 2015 17:12:23 +0000 (10:12 -0700)]
Don't put hashes in libraries of the root crate

The root crate often has artifacts which are later intended for distribution of
some form, so adding a hash will just make predicting the file name difficult.
The hash also isn't necessary as it's guaranteed to not conflict with other
files (no other dependencies are in the same directory) and all other libraries
have metadata so symbols will not conflict.

Closes #1484

9 years agoAllow more advanced filtering of what to build
Alex Crichton [Wed, 29 Apr 2015 16:42:29 +0000 (09:42 -0700)]
Allow more advanced filtering of what to build

This commit fills out the functionality of `--lib`, `--test`, `--bin`,
`--bench`, and `--example` for the `cargo {test,build,bench}` commands all at
once. The support for all of this was introduced long ago, and the flags just
weren't exposed at the time.

9 years agoAdd support for platform-specific build/dev dependencies
Alex Crichton [Wed, 29 Apr 2015 17:23:08 +0000 (10:23 -0700)]
Add support for platform-specific build/dev dependencies

They're available at the top-level, so no reason to not expose them at the
target level as well!

Closes #1464

9 years agoAuto merge of #1540 - lfairy:strip-affixes, r=alexcrichton
bors [Mon, 27 Apr 2015 16:55:30 +0000 (16:55 +0000)]
Auto merge of #1540 - lfairy:strip-affixes, r=alexcrichton

If the user invokes `cargo new` with a name of the form `rust-foo` or `foo-rs` (or any variation of the two), and the `--bin` option is *not* present, then the resulting `Cargo.toml` will have a `name` field of just `foo` instead.

Closes #1532

9 years agoSet $USER variable in integration tests
Chris Wong [Mon, 27 Apr 2015 07:09:48 +0000 (19:09 +1200)]
Set $USER variable in integration tests

This variable isn't set on homu, so we need to add it ourselves.

9 years agoAuto merge of #1552 - IvanUkhov:spaces, r=alexcrichton
bors [Mon, 27 Apr 2015 06:33:09 +0000 (06:33 +0000)]
Auto merge of #1552 - IvanUkhov:spaces, r=alexcrichton

9 years agoMake the usage of spaces next to square brackets consistent
Ivan Ukhov [Mon, 27 Apr 2015 06:26:28 +0000 (08:26 +0200)]
Make the usage of spaces next to square brackets consistent

9 years agoFix the warning to start with a lowercase letter
Chris Wong [Sat, 25 Apr 2015 00:36:08 +0000 (12:36 +1200)]
Fix the warning to start with a lowercase letter

9 years agoAdd integration tests
Chris Wong [Fri, 24 Apr 2015 03:24:46 +0000 (15:24 +1200)]
Add integration tests

9 years agoShow a warning when the package is renamed
Chris Wong [Tue, 21 Apr 2015 23:28:21 +0000 (11:28 +1200)]
Show a warning when the package is renamed

9 years agoAdd a --name option for setting the package name
Chris Wong [Tue, 21 Apr 2015 22:54:18 +0000 (10:54 +1200)]
Add a --name option for setting the package name

9 years agoAuto merge of #1543 - brson:installer, r=alexcrichton
bors [Wed, 22 Apr 2015 21:57:00 +0000 (21:57 +0000)]
Auto merge of #1543 - brson:installer, r=alexcrichton

r? @alexcrichton

9 years agoUpgrade rust-installer
Brian Anderson [Wed, 22 Apr 2015 21:50:15 +0000 (14:50 -0700)]
Upgrade rust-installer

9 years agoStrip `rust-` and `-rs` affixes in `cargo new`
Chris Wong [Mon, 20 Apr 2015 00:16:29 +0000 (12:16 +1200)]
Strip `rust-` and `-rs` affixes in `cargo new`

Closes #1532

9 years agoAuto merge of #1539 - gentoo90:bash-comp, r=alexcrichton
bors [Mon, 20 Apr 2015 16:05:11 +0000 (16:05 +0000)]
Auto merge of #1539 - gentoo90:bash-comp, r=alexcrichton

...and restrict `--manifest-path` to propose only `*.toml` files.
Also add `.gitignore` to `registry` folder

9 years agoIgnore target/ and Cargo.lock in src/registry
gentoo90 [Sun, 19 Apr 2015 17:11:01 +0000 (20:11 +0300)]
Ignore target/ and Cargo.lock in src/registry

9 years agoAdd bashcomp for --example
gentoo90 [Sun, 19 Apr 2015 14:36:29 +0000 (17:36 +0300)]
Add bashcomp for --example

and restrict --manifest-path to propose only *.toml files

9 years agoAuto merge of #1535 - mohtar:doc-open, r=alexcrichton
bors [Sun, 19 Apr 2015 07:53:21 +0000 (07:53 +0000)]
Auto merge of #1535 - mohtar:doc-open, r=alexcrichton

`start` is not an actual executable, but rather a built-in command in Command Prompt. The correct way of launching a file using the default application is thus: `cmd /C start "" <file>`.

Fixes #741.

9 years agoAuto merge of #1537 - ozmorph:master, r=alexcrichton
bors [Sun, 19 Apr 2015 01:59:13 +0000 (01:59 +0000)]
Auto merge of #1537 - ozmorph:master, r=alexcrichton

fixes #1536 .  Tested with rustc 1.0.0-nightly (a52182ffd 2015-04-17) (built 2015-04-17).

9 years agoupdated threadpool dependency from v0.1.1 to v0.1.4
ozmorph [Sat, 18 Apr 2015 22:12:45 +0000 (18:12 -0400)]
updated threadpool dependency from v0.1.1 to v0.1.4

9 years agoOpen file correctly in Windows
Mohd Tarmizi [Sat, 18 Apr 2015 21:51:14 +0000 (05:51 +0800)]
Open file correctly in Windows

9 years agoAuto merge of #1533 - mohtar:doc-open, r=wycats
bors [Sat, 18 Apr 2015 15:20:10 +0000 (15:20 +0000)]
Auto merge of #1533 - mohtar:doc-open, r=wycats

Since #318, the `doc` command generates documentation for binaries in addition to libraries. But currently running `cargo doc --open` would not launch the browser for binary-only packages, even though it should. This commit changes the logic: binaries will be searched when there are no libraries in the package.

A simple test case:

`Cargo.toml`:

    [package]
    name = "foo"
    version = "0.1.0"
    authors = []

`src/main.rs`:

    pub fn main() {
        println!("Hello, world!");
    }

EDIT: I should add that this should fix #1472

9 years ago`cargo doc --open` should work for binary-only packages too
Mohd Tarmizi [Sat, 18 Apr 2015 09:48:38 +0000 (17:48 +0800)]
`cargo doc --open` should work for binary-only packages too

9 years agoAuto merge of #1531 - alexcrichton:cargo-version, r=brson
bors [Thu, 16 Apr 2015 23:05:40 +0000 (23:05 +0000)]
Auto merge of #1531 - alexcrichton:cargo-version, r=brson

Closes #808
Closes #1178

9 years agoBump cargo to 0.2.0
Alex Crichton [Thu, 16 Apr 2015 22:59:14 +0000 (15:59 -0700)]
Bump cargo to 0.2.0

Closes #808
Closes #1178

9 years agoAuto merge of #1530 - mvdnes:doctest-nativedep, r=alexcrichton
bors [Thu, 16 Apr 2015 17:43:48 +0000 (17:43 +0000)]
Auto merge of #1530 - mvdnes:doctest-nativedep, r=alexcrichton

This will traverse all native dependencies and add them to the rustdoc command when running tests.

Fixes #1245

9 years agoAdd native dependencies to doctest
Mathijs van de Nes [Thu, 16 Apr 2015 15:00:39 +0000 (17:00 +0200)]
Add native dependencies to doctest

This will traverse all native dependencies and add them to the rustdoc
command when running tests.

Fixes #1245

9 years agoAdding release flag to cargo test
Prabhjyot Singh Sodhi [Tue, 24 Mar 2015 20:43:30 +0000 (02:13 +0530)]
Adding release flag to cargo test

9 years agoAuto merge of #1523 - critiqjo:bash-complete, r=alexcrichton
bors [Tue, 14 Apr 2015 20:50:34 +0000 (20:50 +0000)]
Auto merge of #1523 - critiqjo:bash-complete, r=alexcrichton

Lists:
- all "installed" commands
- options for basic commands

9 years agoExecute `cargo --list` only when needed
critiqjo [Tue, 14 Apr 2015 18:35:12 +0000 (00:05 +0530)]
Execute `cargo --list` only when needed

9 years agoAdded more commands and options
critiqjo [Tue, 14 Apr 2015 18:18:22 +0000 (23:48 +0530)]
Added more commands and options

9 years agoAllow build script feedback to the crate compiled
Alex Crichton [Thu, 9 Apr 2015 21:35:48 +0000 (14:35 -0700)]
Allow build script feedback to the crate compiled

This commit enables the build script for a crate to provide feedback to the
crate itself about how it should be built. This is done through the `--cfg`
flags of the compiler, and each build script is now allowed to print `rustc-cfg`
directives to inform Cargo about what `--cfg` flags it should pass.

All `--cfg` flags are local to the current crate and are not propagated outwards
to transitive dependencies. The primary use-case that this feature is targeting
is compile-time feature detection for applications like C bindings or C
libraries where the version being targeted may change over time.

Closes #1478

9 years agoAuto merge of #1508 - mohtar:dupdepsbug, r=alexcrichton
bors [Tue, 14 Apr 2015 16:49:10 +0000 (16:49 +0000)]
Auto merge of #1508 - mohtar:dupdepsbug, r=alexcrichton

Fix #876.

9 years agoAdded bash-completion script
critiqjo [Tue, 14 Apr 2015 15:23:51 +0000 (20:53 +0530)]
Added bash-completion script

Lists:
- all installed commands
- options for basic commands

9 years agoFormatting
Mohd Tarmizi [Tue, 14 Apr 2015 02:46:24 +0000 (10:46 +0800)]
Formatting

9 years agoAdd a test for duplicate build dependency
Mohd Tarmizi [Mon, 13 Apr 2015 18:34:33 +0000 (02:34 +0800)]
Add a test for duplicate build dependency

9 years agoRewrite for readability
Mohd Tarmizi [Mon, 13 Apr 2015 17:44:20 +0000 (01:44 +0800)]
Rewrite for readability

9 years agoExtend jakerr's fix
Mohd Tarmizi [Sat, 11 Apr 2015 10:18:37 +0000 (18:18 +0800)]
Extend jakerr's fix

9 years agoDon't short circuit dep matching as soon as a name matches
Jake Kerr [Sun, 5 Apr 2015 12:39:51 +0000 (21:39 +0900)]
Don't short circuit dep matching as soon as a name matches

9 years agopass `-C ar`/`-C linker` when building native dylibs/plugins
Jorge Aparicio [Tue, 14 Apr 2015 06:50:00 +0000 (01:50 -0500)]
pass `-C ar`/`-C linker` when building native dylibs/plugins

closes #1515

9 years agoAuto merge of #1522 - alexcrichton:issue-1512, r=huonw
bors [Tue, 14 Apr 2015 02:19:39 +0000 (02:19 +0000)]
Auto merge of #1522 - alexcrichton:issue-1512, r=huonw

They weren't rlibs so they were left out, but targets which have `plugin = true`
should be passed in to `--extern` regardless.

Closes #1512

9 years agoBe sure to pass plugins to doctest --extern
Alex Crichton [Tue, 14 Apr 2015 01:31:48 +0000 (18:31 -0700)]
Be sure to pass plugins to doctest --extern

They weren't rlibs so they were left out, but targets which have `plugin = true`
should be passed in to `--extern` regardless.

Closes #1512

9 years agoAuto merge of #1519 - alfiedotwtf:master, r=alexcrichton
bors [Mon, 13 Apr 2015 16:23:39 +0000 (16:23 +0000)]
Auto merge of #1519 - alfiedotwtf:master, r=alexcrichton

Currently getting:

note: /usr/bin/ld: /home/alfie/tmp/test/target/debug/build/test-39af07f97c17512a/out/libhello.a(hello.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC

9 years agodocs: fix shared library compilation error
Alfie John [Mon, 13 Apr 2015 12:36:32 +0000 (22:36 +1000)]
docs: fix shared library compilation error

Currently getting:

note: /usr/bin/ld: /home/alfie/tmp/test/target/debug/build/test-39af07f97c17512a/out/libhello.a(hello.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC

9 years agoAuto merge of #1507 - jimmycuadra:cargo-new-semver, r=alexcrichton
bors [Mon, 13 Apr 2015 04:33:57 +0000 (04:33 +0000)]
Auto merge of #1507 - jimmycuadra:cargo-new-semver, r=alexcrichton

This patch updates the initial version of packages generated with `cargo new` to 0.1.0 (rather than 0.0.1), which better follows SemVer. The docs are also updated to show examples that follow this convention.

For reference, the same change was recently made in Bundler for the Ruby ecosystem: bundler/bundler#3322

9 years agoChange the initial version of new packages to 0.1.0, per SemVer.
Jimmy Cuadra [Sat, 11 Apr 2015 12:19:40 +0000 (05:19 -0700)]
Change the initial version of new packages to 0.1.0, per SemVer.

9 years agoAuto merge of #1501 - alexcrichton:issue-1496, r=huonw
bors [Fri, 10 Apr 2015 17:40:21 +0000 (17:40 +0000)]
Auto merge of #1501 - alexcrichton:issue-1496, r=huonw

This commit fixes two problems in Cargo:

1. Only libraries targets that produce an rlib can be doc tested
2. Only the rlib output can be doc tested

The rationale for this is listed in listed in the comments of the commit.

Closes #1496

9 years agoOnly doctest rlibs
Alex Crichton [Thu, 9 Apr 2015 17:43:49 +0000 (10:43 -0700)]
Only doctest rlibs

This commit fixes two problems in Cargo:

1. Only libraries targets that produce an rlib can be doc tested
2. Only the rlib output can be doc tested

The rationale for this is listed in listed in the comments of the commit.

Closes #1496

9 years agoAuto merge of #1499 - alexcrichton:issue-1497, r=brson
bors [Wed, 8 Apr 2015 21:50:03 +0000 (21:50 +0000)]
Auto merge of #1499 - alexcrichton:issue-1497, r=brson

That usage didn't match any docopt patterns so one just needed to be added.

Closes #1497

9 years agoAuto merge of #1498 - hugoduncan:add-cargo-home-to-config-doc, r=steveklabnik
bors [Wed, 8 Apr 2015 18:34:37 +0000 (18:34 +0000)]
Auto merge of #1498 - hugoduncan:add-cargo-home-to-config-doc, r=steveklabnik

Adds CARGO_HOME to the config documentation.

9 years agoFix `cargo search -h`
Alex Crichton [Wed, 8 Apr 2015 18:33:15 +0000 (11:33 -0700)]
Fix `cargo search -h`

That usage didn't match any docopt patterns so one just needed to be added.

Closes #1497

9 years agoDocument the CARGO_HOME env var
Hugo Duncan [Wed, 8 Apr 2015 18:32:29 +0000 (14:32 -0400)]
Document the CARGO_HOME env var

Adds CARGO_HOME to the config documentation.

9 years agoAuto merge of #1493 - alexcrichton:update-semver, r=alexcrichton
bors [Wed, 8 Apr 2015 05:18:33 +0000 (05:18 +0000)]
Auto merge of #1493 - alexcrichton:update-semver, r=alexcrichton

9 years agoUpdate semver to support multiple version reqs
Alex Crichton [Wed, 8 Apr 2015 05:16:37 +0000 (22:16 -0700)]
Update semver to support multiple version reqs

9 years agoAuto merge of #1492 - alexcrichton:issue-1491, r=huonw
bors [Wed, 8 Apr 2015 00:29:10 +0000 (00:29 +0000)]
Auto merge of #1492 - alexcrichton:issue-1491, r=huonw

Closes #1491

9 years agoDon't run doc tests if there's a filter
Alex Crichton [Tue, 7 Apr 2015 23:56:45 +0000 (16:56 -0700)]
Don't run doc tests if there's a filter

9 years agoAuto merge of #1477 - alexcrichton:issue-1474, r=huonw
bors [Tue, 7 Apr 2015 07:45:42 +0000 (07:45 +0000)]
Auto merge of #1477 - alexcrichton:issue-1474, r=huonw

Previously the "add immediate deps" logic bailed out too soon and didn't pick up
all dev-dependencies.

Closes #1474

9 years agoAuto merge of #1486 - IvanUkhov:clone, r=alexcrichton
bors [Sun, 5 Apr 2015 16:40:21 +0000 (16:40 +0000)]
Auto merge of #1486 - IvanUkhov:clone, r=alexcrichton

Hi,

This is a continuation of #1480.

Regards,
Ivan

9 years agoDerive Clone when deriving Copy
Ivan Ukhov [Sun, 5 Apr 2015 07:00:01 +0000 (09:00 +0200)]
Derive Clone when deriving Copy

9 years agoAuto merge of #1482 - DavidAwad:patch-1, r=alexcrichton
bors [Sun, 5 Apr 2015 06:42:51 +0000 (06:42 +0000)]
Auto merge of #1482 - DavidAwad:patch-1, r=alexcrichton

9 years agoAuto merge of #1483 - tamird:rustup, r=alexcrichton
bors [Sun, 5 Apr 2015 06:21:52 +0000 (06:21 +0000)]
Auto merge of #1483 - tamird:rustup, r=alexcrichton

Passes `make test` locally. r? @alexcrichton

9 years agoRustup 2015-04-02
Tamir Duberstein [Sat, 4 Apr 2015 23:19:03 +0000 (16:19 -0700)]
Rustup 2015-04-02

9 years agoMake `print-new-snapshot` fail on 403
Tamir Duberstein [Sat, 4 Apr 2015 23:18:47 +0000 (16:18 -0700)]
Make `print-new-snapshot` fail on 403

9 years agoUpdate index.md
David Awad [Sat, 4 Apr 2015 19:51:31 +0000 (15:51 -0400)]
Update index.md

9 years agoAuto merge of #1475 - alexcrichton:update, r=huonw
bors [Fri, 3 Apr 2015 01:13:19 +0000 (01:13 +0000)]
Auto merge of #1475 - alexcrichton:update, r=huonw

Along the way, this also removes the ability to specify `[[lib]]` targets while
getting warnings. While we're at it remove nearly all unstable features that
Cargo is depending on as well!

r? @huonw

9 years agoAuto merge of #1452 - alexcrichton:issue-1355, r=huonw
bors [Fri, 3 Apr 2015 00:35:44 +0000 (00:35 +0000)]
Auto merge of #1452 - alexcrichton:issue-1355, r=huonw

The hashes would occasionally disappear when the main package registry overwrote
a previous registry source, so this just adds logic to load hashes if they're
missing.

Closes #1355

9 years agoUpdate to rust-2015-04-02
Alex Crichton [Thu, 2 Apr 2015 18:12:21 +0000 (11:12 -0700)]
Update to rust-2015-04-02

Along the way, this also removes the ability to specify `[[lib]]` targets while
getting warnings. While we're at it remove nearly all unstable features that
Cargo is depending on as well!

9 years agoBe sure to include dev-deps for doctests with --extern
Alex Crichton [Thu, 2 Apr 2015 18:51:29 +0000 (11:51 -0700)]
Be sure to include dev-deps for doctests with --extern

Previously the "add immediate deps" logic bailed out too soon and didn't pick up
all dev-dependencies.

Closes #1474

9 years agoAuto merge of #1476 - brson:installer, r=alexcrichton
bors [Thu, 2 Apr 2015 18:35:52 +0000 (18:35 +0000)]
Auto merge of #1476 - brson:installer, r=alexcrichton

9 years agoUpgrade rust-installer
Brian Anderson [Thu, 2 Apr 2015 18:31:47 +0000 (11:31 -0700)]
Upgrade rust-installer

9 years agoAuto merge of #1455 - alexcrichton:issue-1449, r=brson
bors [Tue, 31 Mar 2015 17:07:38 +0000 (17:07 +0000)]
Auto merge of #1455 - alexcrichton:issue-1449, r=brson

Previously --extern was passed for *all* upstream dependencies, causing
conflicts if some had duplicate names. Now cargo only passes --extern for
libraries that were built including immediate dependencies. Cargo also
additionally now properly passes `-L dependency=` instead of just a plain `-L`.

Closes #1449

9 years agoFix passing --extern and -L to doc tests
Alex Crichton [Wed, 25 Mar 2015 19:46:21 +0000 (12:46 -0700)]
Fix passing --extern and -L to doc tests

Previously --extern was passed for *all* upstream dependencies, causing
conflicts if some had duplicate names. Now cargo only passes --extern for
libraries that were built including immediate dependencies. Cargo also
additionally now properly passes `-L dependency=` instead of just a plain `-L`.

Closes #1449

9 years agoAuto merge of #1470 - alexcrichton:update, r=alexcrichton
bors [Tue, 31 Mar 2015 16:31:44 +0000 (16:31 +0000)]
Auto merge of #1470 - alexcrichton:update, r=alexcrichton

9 years agoUse Entry::or_insert where possible
Alex Crichton [Mon, 30 Mar 2015 20:39:16 +0000 (13:39 -0700)]
Use Entry::or_insert where possible

9 years agoUpdate to rust 2015-03-30
Alex Crichton [Mon, 30 Mar 2015 19:30:50 +0000 (12:30 -0700)]
Update to rust 2015-03-30

9 years agoAuto merge of #1467 - alexcrichton:update-flate2, r=alexcrichton
bors [Sun, 29 Mar 2015 06:31:34 +0000 (06:31 +0000)]
Auto merge of #1467 - alexcrichton:update-flate2, r=alexcrichton

There were a few bugs in creation of gzip'd files which caused package creation
to fail in some circumstances.

Closes #1465

9 years agoHelp diagnose flaky test
Alex Crichton [Sun, 29 Mar 2015 06:30:39 +0000 (23:30 -0700)]
Help diagnose flaky test