3 ms·
If you have any questions or comments about Riff, we at Determinate Systems will be actively monitoring this space for the next few hours, so fire away.
by biggestlou 4y ago
If you have any questions or comments about Riff, we at Determinate Systems will be actively monitoring this space for the next few hours, so fire away.
- brundolf 4y agoThis looks really exciting, but I'm not clear on how this works: So what has happened here? Riff has: - read your project’s Cargo.toml, - determined which external dependencies are necessary based on your crate dependency graph, How does Riff go from crate -> external package dependencies? Are those listed in the Cargo.toml somewhere? Does it just make a best-effort attempt to scrape the project and figure out what's referenced? Or does Riff maintain its own internal registry of which dependencies are needed by which popular crates?
- grhmc 4y agoRiff has an internal registry mapping crates to external dependencies. However, the registry is intended to bootstrap Riff's utility. If projects define their own Riff metadata in their own Cargo.toml, that data is preferred. The README shows how to do that: https://github.com/determinateSystems/riff#how-to-declare-package-inputs https://github.com/determinateSystems/riff#how-to-declare-pa...
- brundolf 4y agoNeat! Sounds reasonable