Cargo, Rust's Package Manager
crates.io
Cargo, Rust's Package Manager
1–10 of 127 posts
Re: Cargo, Rust's Package Manager
#2And here is the announcement from Yehuda Katz:
https://mail.mozilla.org/pipermail/rust-dev/2014-June/010569...
Re: Cargo, Rust's Package Manager
#3Why not just use JSON?
Infact, why not just use npm's package.json?
Re: Cargo, Rust's Package Manager
#4Why not just use JSON? Infact, why not just use npm's package.json?
I may not be a majority here, but I see JSON as a data transportation format, while I see TOML or YAML as configuration formats.
You cannot write comments in JSON, for instance.
Re: Cargo, Rust's Package Manager
#5Why not just use JSON? Infact, why not just use npm's package.json?
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...)
Re: Cargo, Rust's Package Manager
#6Why not just use JSON? Infact, why not just use npm's package.json?
Because comments.
Re: Cargo, Rust's Package Manager
#7Why not just use JSON? Infact, why not just use npm's package.json?
[deleted]
Re: Cargo, Rust's Package Manager
#8How 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.
Re: Cargo, Rust's Package Manager
#9Why not just use JSON? Infact, why not just use npm's package.json?
There isn't a lot of attachment to the exact manifest format used, but using json is clearly a step backwards!
Re: Cargo, Rust's Package Manager
#10Why not just use JSON? Infact, why not just use npm's package.json?
json is only marginally easier to edit by hand than xml. also, comments.