I hope it will be more stable and work better than the Haskell package manager, Cabal. I literally never got that to work on any machine. It would typically destroy itself while attempting to update itself...
Cargo, Rust's Package Manager
31–40 of 127 posts
Re: Cargo, Rust's Package Manager
#32I'd love if $ cargo cult would build a new project/module from a template.
Re: Cargo, Rust's Package Manager
#33Why not just use JSON? Infact, why not just use npm's package.json?
Yeah, why use some format that no one knows, and is harder to parse by other tools?
From: https://github.com/toml-lang/toml
"Latest tagged version: v0.2.0.
Be warned, this spec is still changing a lot. Until it's marked as 1.0, you should assume that it is unstable and act accordingly."
Re: Cargo, Rust's Package Manager
#34Earlier quoted context omitted.
This was how I installed it (Mac): 1) Install latest version of Rust found here: http://www.rust-lang.org 2) git clone --recursive git@github.com:rust-lang/cargo.git 3) make 4) make install (could be that sudo is needed for you)
There is no brew formula?
aroch:~/staging/|⇒ brew info rust
rust: stable 0.10 (bottled), HEAD
/usr/local/Cellar/rust/0.10 (74 files, 174M) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/commits/master/Library/...aroch:~/staging/|⇒ brew info cargo
Error: No available formula for cargo
Re: Cargo, Rust's Package Manager
#35Re: Cargo, Rust's Package Manager
#36Earlier quoted context omitted.
This was how I installed it (Mac): 1) Install latest version of Rust found here: http://www.rust-lang.org 2) git clone --recursive git@github.com:rust-lang/cargo.git 3) make 4) make install (could be that sudo is needed for you)
There is no brew formula?
Re: Cargo, Rust's Package Manager
#37Earlier quoted context omitted.
I think that's a good point. Why use .toml when we have better alternatives already? (I admit I have a bias against toml, but still...)
Which ones would that be?
Re: Cargo, Rust's Package Manager
#38How do you pin a dependency to a particular version or git sha? I can't find anything in the FAQ or docs that implies that it's possible.
From announcement email: The next features we're planning on working on are: - Supporting refs other than `master` from git packages
Re: Cargo, Rust's Package Manager
#39Re: Cargo, Rust's Package Manager
#40Earlier quoted context omitted.
There is no brew formula?
Rust has a brew package. Cargo is new so it may be a day or three before it gets out there too.