News for hackers. Stuff that matters.
Re:Rust 1.43 by steveklabnik on Thursday April 23, 2020 @01:55PM (#22958770)
It's all good; I was asking because I legit didn't know, and couldn't think of anything off the top of my head. I don't work on Cargo, so I'm not as in-tune with its development.

So, I am still not 100% sure that I understand, mostly because each package can only have one library, so this would only work if you wanted one plugin. I guess maybe if they were all in a workspace?

Re:Rust 1.43 by jeffdavis on Thursday April 23, 2020 @02:14PM (#22959056)
Typically one postgres extension would have only one plugin library. So, the idea is that one crate would produce one plugin. I guess it's possible to have more than one plugin per extension, but it never occurred to me and I haven't seen that before.

Having the location of the plugin might also allow "cargo install" to work.