From 2ec85d857a88bd9f9b35132d746f801ca6aed021 Mon Sep 17 00:00:00 2001 From: kanishkarj_fort Date: Mon, 8 Jul 2019 23:36:50 +0530 Subject: [PATCH] Readme and package metadata update --- Cargo.toml | 18 ++++++++++++++---- README.md | 1 + 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 20ea04d..2e16c77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,10 +3,20 @@ name = "snoopy" version = "0.3.0" authors = ["kanishkarj "] edition = "2018" -include = [ - "**/*.rs", - "Cargo.toml", +exclude = [ + "Sample/**/*", ] +description = "A highly configurable multi-threaded packet sniffer and parser." +documentation = "https://github.com/kanishkarj/snoopy" +homepage = "https://github.com/kanishkarj/snoopy" +repository = "https://github.com/kanishkarj/snoopy" +readme = "README.md" +keywords = ["pcap-parser", "packet-capture", "packet-sniffer", "packet-parsing", "command-line-tool"] +categories = ["command-line-utilities", "parsing"] +license = "MIT" +license-file = "LICENSE" +travis-ci = { repository = "kanishkarj/snoopy", branch = "master" } +maintenance = { status = "passively-maintained" } [dependencies] clap = "2.33.0" @@ -18,6 +28,6 @@ hwaddr = "0.1.2" nom = "5.0.0" serde_json = "1.0" serde = "1.0" -httparse = "*" +httparse = "1.3.0" threadpool = "1.0" num_cpus = "1.0" \ No newline at end of file diff --git a/README.md b/README.md index 618953e..d28c3d5 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ A highly configurable multi-threaded packet sniffer and parser build in rust-lan * While capturing packets, various configuration parameters can be specified. * Parse Pcap files and print them to console, or extract more verbose information from each packet and store them to JSON file. * Multi-threaded parsing of packets. +* Filter packets while parsing and capturing. * Currently supports the following protocols : * Ethernet * Ipv4