]> git.lizzy.rs Git - rust.git/commit
auto merge of #11478 : klutzy/rust/rustpkg-crate-id, r=cmr
authorbors <bors@rust-lang.org>
Fri, 24 Jan 2014 01:31:44 +0000 (17:31 -0800)
committerbors <bors@rust-lang.org>
Fri, 24 Jan 2014 01:31:44 +0000 (17:31 -0800)
commit2b62371c205d408cf5a833d12dc937012047a506
tree4dc804d1124aafa066e7b353e768fdd4982d1e12
parent9f4e5b6f3182da3a5dacd9edec2e73b7cd792f25
parenta6a31ecb0481af3bd5f8ba3655dda0dde9df7116
auto merge of #11478 : klutzy/rust/rustpkg-crate-id, r=cmr

This patchset consists of three parts:

- rustpkg doesn't guess crate version if it is not given by user.
- `rustpkg::version::Version` is replaced by `Option<~str>`.
  It removes some semantic versioning portions which is not currently used.
  (cc #8405 and #11396)
  `rustpkg::crate_id::CrateId` is also replaced by `syntax::crateid::CrateId`.
- rustpkg now computes hash to find crate, instead of manual filename parse.

cc @metajack