cargo-dist icon indicating copy to clipboard operation
cargo-dist copied to clipboard

allow creating libraries artifacts

Open ibotty opened this issue 7 months ago • 4 comments

Is there already some discussion regarding supporting library building?

I am talking about RPMs, DEBs, etc.

I do have some opinions and might contribute.

ibotty avatar Dec 06 '23 12:12 ibotty

Do you mean building packages for use with a package manager? We support Homebrew for Mac right now, but we'd love to support more.

mistydemeo avatar Dec 08 '23 00:12 mistydemeo

The most important part (IMO) is not building a RPM or DEB out of the artifacts (I assume that's not even that hard), but package library artifacts. My use case is PostgreSQL extensions.

ibotty avatar Dec 08 '23 08:12 ibotty

C extensions used by another Rust library, or Rust extensions made with PGRX? It will probably require additional work with pgrx to enable some of the dist options that cargo-dist would normally support.

workingjubilee avatar Dec 09 '23 01:12 workingjubilee

Sorry, for not getting back. I was pretty busy.

I am talking about pgrx extensions. But I'd also like to package so libraries (generated by rust and built by cargo). Is that going to be much different?

Any ideas on how it might look like?

ibotty avatar Dec 12 '23 10:12 ibotty