wiki/notebook/literature.packaging-rust-crates-in-gnu-guix.org
Gabriel Arazas b088086b06 Merge evergreen notes into the notebook
Now, it's all under the notebook umbrella. Seems to be appropriate as it
is just my notes after all.

I also updated some notes from there. I didn't keep track of what it is
this time. Something about more learning notes extracted from my
"Learning how to learn" course notes and then some. Lack of time and
hurriness just makes it difficult to track but it should be under
version control already.
2021-07-21 16:28:07 +08:00

933 B

Packaging Rust crates in GNU Guix

  • Not much people who're familiar with Rust, apparently (at least at the time of the talk). Nonetheless, Rust-based tools are included.
  • Created an importer using the Crates.io API. With the importer, it can recursively build the module all the way down (most of the time).
  • It pulls all of the dependencies. The side effect is that every package has to be defined. The importer just makes it easier.
  • The community have a preference to shared libraries and sources. Vendoring is not much of a popular option. Since Rust downloads everything and the community wants to reuse the components, it seems the solution is to package everything.