Dealing with rust
NOTE: This blocks a conversion of GNOME jhbuild modulesets; because librsvg now uses rust
Seems that people are starting to use rust, which presents some difficulty, since by default it will download dependencies from the internet.
The way debian is currently working around this is using something called "directory sources"
So, from what I understand from a short time on irc:
- There is a thing called a "package"
- This thing is not to be confused with a "crate"
- From IRC: "A package is a collection of a single library crate plus 0 or more binary crates test crates and example crates"
- A package can be downloaded in tarball form from crates.io, however it's not recommended
- There is a way to build from git and "vendor" the result into a local cache
- There is a way to configure the build environment so that the local cache is used in place of crates.io
Some useful links:
- Source replacement: http://doc.crates.io/source-replacement.html
- Configuring the build environment: http://doc.crates.io/config.html#hierarchical-structure