tectonic-typesetting / tectonic

A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.
https://tectonic-typesetting.github.io/
Other
3.99k stars 162 forks source link

Workspace dependencies #1147

Open rm-dr opened 9 months ago

rm-dr commented 9 months ago

Is there a reason we're not using { workspace = true } in sub-crate Cargo.toml files? It would be nice to specify crate paths and versions in exactly one place, instead of listing all versions of all dependencies independently in each crate.

pkgw commented 9 months ago

It took me a little while to track down what you were referring to, so, for posterity:

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace

I think we're not using it simply because it's a relatively new feature. It is possible that intra-workspace dependencies might cause some wrinkles that I would need to deal with in my Cranko release automation tool, but ... also maybe not?