vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
424 stars 42 forks source link

Split out libalpm as a cargo feature #162

Closed vn971 closed 3 years ago

vn971 commented 3 years ago

Split out libalpm as a cargo feature

Splitting out libalpm as a feature would allow removing libalpm as a link-time dependency.

This will in turn make rua work on both "git" version of pacman, and not break when pacman upgrades itself (via libalpm).

vn971 commented 3 years ago

Opinions @Morganamilo @VukoDrakkeinen or anyone else?

Morganamilo commented 3 years ago

I don't see the use in a feature, just pick one aproch and just use that.

vn971 commented 3 years ago

Merged for now, will keep both versions for now to have some flexibility in choosing [what to use]. In the future might bias towards one of the solutions, but for now it's good

Morganamilo commented 3 years ago

alpm.rs now has a static feature. Not that I'd exactly recommend enabling it for general use. It's there if you want to play around with it.