A dynamic binding to libarchive for the D programming language.
Please see the sections on Compiling and Linking and The Derelict Loader in the Derelict documentation for information on how to build DerelictPQ and load libpq at run time. In the meantime, here's some sample code.
import derelict.libarchive;
void main() {
DerelictLibArchive.load(); // Load libarchive
// Now you can call libarchive functions
}
Check out ./examples
directory for more examples.