4 ms·
You absolutely can. Cargo is not strictly speaking required to build Rust code, it just makes it so easy virtually everyone uses it. rustc won't ask you anythi
by steveklabnik 10y ago
You absolutely can. Cargo is not strictly speaking required to build Rust code, it just makes it so easy virtually everyone uses it.
rustc won't ask you anything about version numbers.
- stormbrew 10y agoYes. To be clear, I am not saying you can't do anything without cargo, but if you depend on any crates it makes very little sense to try to not use it. It only really makes sense to try if you have no external rust dependencies, which I think usually either means you're writing a kernel or a toy.
- steveklabnik 10y agoI actually use Cargo in my kernel, with dependencies like https://crates.io/crates/x86 https://crates.io/crates/x86 So that just leaves toys :)
- stormbrew 10y agoFair enough. :) Also, btw, even though I'm saying something vaguely negative about cargo I love that both rust and cargo exist and I've been aware of the work you've been doing since your rails days and always liked what you've done and had to say. Just thought I may as well throw that out there. :)
- steveklabnik 10y agoNo worries! <3 I didn't even take it as negative, to be honest.