about summary refs log tree commit diff
path: root/src/librustpkg/crate_id.rs
AgeCommit message (Collapse)AuthorLines
2014-01-23rustpkg::crate_id: Remove CrateIdklutzy-144/+0
There is no significant difference between `rustpkg::crate_id::CrateId` and `syntax::crateid::CrateId`. rustpkg's one is replaced by syntax's one.
2014-01-23rustpkg: Compute hash to find crateklutzy-17/+18
Previously rustpkg tried to parse filenames to find crate. Now ue use deterministic hashes, so it becomes possible to directly construct filename and check if the file exists.
2014-01-23rustpkg::version: Remove enum Versionklutzy-9/+11
Currently rustpkg doesn't use SemanticVersion or Tagged, so they are removed. Remaining variants are replaced by `Option<~str>`.
2014-01-23rustpkg: Do not guess version if not givenklutzy-13/+4
rustpkg accessed git repo to read tags and guess package version, but it's not quite useful: version can be given explicitly by user, and implicit guess may cause confusions.
2014-01-21[std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behaviorSimon Sapin-1/+1
2014-01-17Use the libsyntax PkgId parser in Rustpkg, but keep Rustpkg's version smarts.Jack Moffitt-23/+11
This fixes a bug where new syntax crate IDs would cause rustpkg to fail to build crates.
2013-12-29Rename uses of PkgId to CrateId in librustpkgLuis de Bethencourt-0/+162