1 unstable release
Uses old Rust 2015
0.0.2 | Jan 25, 2015 |
---|
#9 in #buildable
21KB
473 lines
mongo-db
Mongo DB RUst Builder
Status
lib.rs
:
Rust Builder for Mongo DB.
This crate is intended for use with rub.
If you don't have rub
installed, visit https://github.com/rust-builder/rub
for installation instructions.
Rub Options
$ rub mongo --help mongo - Rust Builder Usage: rub mongo [options] [<lifecycle>...] rub mongo (-h | --help) rub mongo --version Options: -d --dir <dir> Set the projects directory. -b --branch <branch> Set the build branch. [default: master] -t --enable-test Enable tests. -p --prefix <prefix> Set the installation prefix. [default: /usr/local] -u --url <url> Set the SCM URL. -h --help Show this usage. --version Show rust-rub version.
Examples
use buildable::Buildable;
use mongo_rub::MongoRub;
// To run lifecycle methods outside of rub...
let mut mr = MongoRub::new();
let b = Buildable::new(&mut mr, &vec!["rub".to_string(),
"mongo".to_string(),
"--version".to_string()]);
assert_eq!(Ok(0), b.version());
Dependencies
~3.5–5.5MB
~101K SLoC