pcap-config

Crates.iopcap-config
lib.rspcap-config
version0.1.1
sourcesrc
created_at2016-01-04 17:45:07.011212
updated_at2016-01-05 18:02:38.729365
descriptionA library to run the pcap-config tool at build time to find the compiler flags for linking libpcap.
homepagehttp://ryanq.net/rust-pcap-config/pcap_config/index.html
repositoryhttps://github.com/ryanq/rust-pcap-config
max_upload_size
id3828
size9,139
Ryan Quattlebaum (ryanq)

documentation

http://ryanq.net/rust-pcap-config/pcap_config/index.html

README

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();
}
Commit count: 0

cargo fmt