2f6b5a654d
Originally the Rust apply-live code was exposed from Rust to C via bindgen. But when working on that, I hit the problem that our output infrastructure was C...and the "reverse direction" binding stuff was just ugly. This PR again IMO shows the value of the investment in cxx-rs because we can now seamlessly call back from the Rust side into a "C++-ish" progress API, which the C++ side is updated to use. The level of indirection here is obviously pretty silly because the main thing on the C++ output side is basically a function dispatcher, but...I didn't want to try to rework that into Rust fully yet. (But, the moment we do this whole area will get a *lot* cleaner) Anyways, in the end this makes it easy for the apply-live code to output progress to the user which was sorely needed. |
||
---|---|---|
.. | ||
libdnf-sys | ||
src | ||
.gitignore | ||
LICENSE-APACHE | ||
LICENSE-MIT |