Commit graph

28 commits

Author SHA1 Message Date
Alex Crichton a4c5438431 Tweak metadata to publish Cargo on crates.io
This commit tweaks some metadata here and there to publish Cargo on crates.io.

* License fields are added to Cargo.tomls
* `registry` was renamed to `crates-io`
* API docs for the `cargo` crate are now generated via `make doc`
2015-07-24 15:07:01 -07:00
Alex Crichton f3d6e35fbc Update Rust nightly
Looks like the new LLVM version has optimizations which help out a good deal
with the recursion faced in the resolver, so let's use that version instead!
2015-07-17 12:55:05 -07:00
Tshepang Lekhonkhobe 74076d2a04 fix typos caught by codespell 2015-05-06 02:05:41 +02:00
Ivan Ukhov abe56727d4 Derive Clone when deriving Copy 2015-04-05 09:07:10 +02:00
Alex Crichton 964e72ffc0 Update to rust 2015-03-26 2015-03-26 11:59:30 -07:00
Alex Crichton 50c6eb4d46 Update to rust master 2015-03-17 09:26:13 -07:00
Alex Crichton 97a2f27170 Update to rust master 2015-03-09 11:30:37 -07:00
Alex Crichton a6dad62221 Update to rust master and std::{io, path} 2015-02-27 15:34:13 -08:00
Alex Crichton 7b059db1d3 Fixup warnings and the travis script 2015-02-24 11:57:29 -08:00
Alex Crichton 93fa4c1640 Download registry packages on cargo fetch
Closes #1329
2015-02-23 16:14:34 -08:00
Alex Crichton 25e537aa7f Down with .as_slice()! 2015-02-06 15:10:05 -08:00
Gabriel Souza Franco 893c8740ba Squelch warnings 2015-01-30 19:22:02 -02:00
Gabriel Souza Franco af45e08862 std::io → std::old_io 2015-01-30 16:03:53 -02:00
Сухарик 95b426262f fix build on recent rust: use unwrap on encode 2015-01-24 01:55:25 +03:00
Сухарик 213afc02dc update to recent rust changes: part #1 2015-01-23 21:42:29 +03:00
Alex Crichton 553211119b Update to rust master 2015-01-13 14:11:20 -08:00
Alex Crichton ba2800478d Update to rust master 2015-01-05 11:17:01 -08:00
David Davidović bd70721d8f Migrate to rustc-serialize
As per rust-lang/rust@b04bc5c, move all Encodable and Decodable deriving
modes to RustcEncodable and RustcDecodable, and also extern the
rustc-serialize crate instead of the former serialize one.
2014-12-24 04:52:40 +01:00
Alex Crichton bc96e116dc Bump rustc version 2014-12-11 20:20:29 -08:00
Jakub Bukaj 533d938a61 Do not require an API token for cargo search 2014-12-08 14:44:24 -05:00
Cody P Schafer 631210790d Update for nightly
I'm a bit shaky on the profile.rs changes (`thread_local!` and `RefCell`
relplacing `local_data_key!`), do make sure I haven't royally screwed
something up there.

Note that I haven't sucessfully run the various test_cargo_cross_compile
tests as I don't have an i686-unknown-linux-gnu rustc sitting around.
2014-12-03 02:25:18 -05:00
Alex Crichton 5acb5f567b Add support for a license-file manifest key
This key will support projects with nonstandard licenses and the registry will
display the license as "nonstandard".

Closes #940
2014-11-25 09:33:16 -08:00
Alex Crichton 3b5994e7d7 Upload dependency kinds to the registry
This ensures that the registry understands whether dependencies are build
dependencies or dev dependencies.

Closes rust-lang/crates.io#38
2014-11-24 15:33:29 -08:00
Jakub Bukaj 0c25226b35 Add a search command to cargo 2014-11-24 08:59:58 -05:00
Jakub Bukaj df9cf06663 Update to newest Rust 2014-11-23 17:02:45 -05:00
Alex Crichton 38d14a59c6 Update all dependencies to Rust master 2014-11-18 23:04:24 -08:00
Alex Crichton a3538e25e8 Implement a command to list owners of a crate
Closes #858
2014-11-12 22:32:23 -08:00
Alex Crichton 9fba127e4f Update how cargo talks to the registry
This commit includes a laundry list of updates and tweaks to reflect the current
API of the registry:

* `registry.host` has been renamed to `registry.index`
* New top-level manifest keys are now accepted:
  * `homepage` - url
  * `documentation` - url
  * `repository` - url
  * `description` - a markdown-less blurb
  * `license` - string (verified by the registry on upload)
  * `keywords` - string array
  * `readme` - string pointing at a file
* Authors are now uploaded to the registry
* The upload format to the registry has changed to a body json payload
* Unpacking tarballs respects the executable bit for scripts and such.
* Downloading now follows redirects to go to S3.
* The download URL for a package has changed slightly.
* Verify path dependencies have a version listed when being uploaded
* Rename `upload` to `publish`
* Rename `ops::cargo_upload` to `ops::registry`
* Add a new `registry` package for interoperating with the registry
* Add the ability to modify owners via `cargo owner`
* Add a `readme` key to the manifest, and upload its contents to the registry.
* Add the ability to yank crates and their versions
* When packaging a library, verify that it builds from the packaged source by
  unpacking the tarball and simulate running `cargo build` inside of it.
2014-10-27 12:40:23 -07:00