Alas, this is asking a lot. If I knew of a straightforward and sane way to get this and its dependent projects published to crates.io, I gladly would've done so already. This project wraps -sys crates, which in turn can build any number of native C libraries depending on the platform and user configuration. This is exacerbated by one of the native libraries also being built as a "default" implementation. Even just getting the -sys packages organized is painful - but that's where you'd need to start. If you want to take a stab at restructuring them, I'd be glad to review the changes, but I caution that it would likely be painful and take us awhile to get right.
Alas, this is asking a lot. If I knew of a straightforward and sane way to get this and its dependent projects published to crates.io, I gladly would've done so already. This project wraps -sys crates, which in turn can build any number of native C libraries depending on the platform and user configuration. This is exacerbated by one of the native libraries also being built as a "default" implementation. Even just getting the -sys packages organized is painful - but that's where you'd need to start. If you want to take a stab at restructuring them, I'd be glad to review the changes, but I caution that it would likely be painful and take us awhile to get right.
See: https://github.com/energymon/energymon-sys The upstream sources are copied into the -sys source tree, but are still under active development: https://github.com/energymon/energymon