3 ms·
Crates.io stores packages as source code. Rust does not have a VM, and doesn't use bytecode. That being said, it could in theory serve them as binary code, wh
by steveklabnik 2y ago
Crates.io stores packages as source code.
Rust does not have a VM, and doesn't use bytecode.
That being said, it could in theory serve them as binary code, which yes, would then mean that it would need to be stored per version and per architecture both, which would be quite a lot more than the source that's stored now.