about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorElly Jones <elly@leptoquark.net>2011-12-16 22:08:25 -0500
committerElly Jones <elly@leptoquark.net>2011-12-16 22:08:25 -0500
commit8b7a41f23d421bb4d0dd0ef33be147dc5d065967 (patch)
treeb82235b338a4f96a9f5561c9c1f9cf637776e6b0 /src/rt/rust_task.cpp
parent10cf4a1b0a90787ed50f3153f481e7128cffbec7 (diff)
downloadrust-8b7a41f23d421bb4d0dd0ef33be147dc5d065967.tar.gz
rust-8b7a41f23d421bb4d0dd0ef33be147dc5d065967.zip
cargo: Support distributed package indexes.
Indexes are listed in ~/.cargo/sources.json and ~/.cargo/local-sources.json, the
former of which is stored in the rust source tree in src/cargo. Each entry in
either of these files is a source, which is a dictionary with (currently) a
single key, "url". The supplied url should point to a json list, each element of
which should be a dictionary with four keys: "name", "uuid", "url", and
"method". The name and uuid serve to identify the package; the method describes
how to fetch the package; the url describes where to fetch it from. Currently
supported methods are "git", "http", and "file".

Signed-off-by: Elly Jones <elly@leptoquark.net>
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions