14 ms·
> Rust probably has similar tools * Testing Built-in: http://doc.rust-lang.org/master/guide-testing.html http://doc.rust-lang.org/master/guide-testing.html *
by dbaupp 12y ago
> Rust probably has similar tools
* Testing
Built-in: http://doc.rust-lang.org/master/guide-testing.html http://doc.rust-lang.org/master/guide-testing.html
* Documentation
Built-in: http://doc.rust-lang.org/master/rustdoc.html http://doc.rust-lang.org/master/rustdoc.html
* Sharing code and specifying dependencies
The newly released 'cargo': http://crates.io/ http://crates.io/ https://github.com/rust-lang/cargo/ https://github.com/rust-lang/cargo/ (alpha, but quickly improving). This will be Rust's cabal equivalent, almost certainly with support for generating documentation and cross-compiling (it already has basic support for running the tests described above).
* Formatting
Missing at the moment, but very wanted: https://github.com/rust-lang/rust/issues/3195 https://github.com/rust-lang/rust/issues/3195 .
(Well, to be precise, the compiler has the '--pretty normal' option, but it's not so good. https://github.com/pcwalton/rustfmt https://github.com/pcwalton/rustfmt is the work-in-progress replacement.)
* Cross compiling
Already supported, although it requires manually compiling Rust with the appropriate --target flag passed to ./configure, to cross-compile the standard library.
- bjz_ 12y agoI would be very wary about promoting Cargo as a 'cabal equivalent'. :P