| Crates.io | pcap-config |
| lib.rs | pcap-config |
| version | 0.1.1 |
| created_at | 2016-01-04 17:45:07.011212+00 |
| updated_at | 2016-01-05 18:02:38.729365+00 |
| description | A library to run the pcap-config tool at build time to find the compiler flags for linking libpcap. |
| homepage | http://ryanq.net/rust-pcap-config/pcap_config/index.html |
| repository | https://github.com/ryanq/rust-pcap-config |
| max_upload_size | |
| id | 3828 |
| size | 9,139 |
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();
}