pcap-config [![Build Status][travis-img]][travis-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][docs]. ```rust extern crate pcap_config; fn main() { pcap_config::find_library().unwrap(); } ``` [alexcrichton/pkg-config-rs]: https://github.com/alexcrichton/pkg-config-rs [docs]: http://ryanq.net/rust-pcap-config/pcap_config/index.html [travis-img]: https://travis-ci.org/ryanq/rust-pcap-config.svg?branch=master [travis-status]: https://travis-ci.org/ryanq/rust-pcap-config