pcap-config 0.1.1

A library to run the pcap-config tool at build time to find the compiler flags for linking libpcap.
Documentation

pcap-config Build Status

A simple library designed to be used as a build dependency to determine the location and flags required to use libpcap from a Cargo project. Made because libpcap doesn't come with a pkg-config file and does include the pcap-config executable to accomplish the same goal. Inspired by alexcrichton/pkg-config-rs.

Each successful commit on master regenerates the documentation.

extern crate pcap_config;

fn main() {
    pcap_config::find_library().unwrap();
}