-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
67 lines (59 loc) · 1.33 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "libpcap-rs"
version = "0.2.1"
authors = [
"jankincai <jankincai12@gmail.com>",
]
edition = "2021"
description = "Rust encapsulates the C language libpcap"
repository = "https://github.com/caizhengxin/libpcap-rs"
readme = "README.md"
# https://crates.io/category_slugs
categories = [
"api-bindings",
"command-line-utilities",
]
keywords = [
"pcap",
"pcapng",
"libpcap",
"libpcap-rs",
"pcap-parser",
]
license = "MIT OR Apache-2.0"
rust-version = "1.56"
include = [
"src/*",
"benches/*",
"examples/*",
"build.rs",
"Cargo.toml",
"LICENSE*",
"README.md",
"wrapper.h",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
opt-level = 1
overflow-checks = false
[[bin]]
name = "libpcap-merge"
path = "src/cli/libpcap_merge.rs"
[[bin]]
name = "libpcap-read"
path = "src/cli/libpcap_read.rs"
[[bin]]
name = "libpcap-write"
path = "src/cli/libpcap_write.rs"
[[bin]]
name = "libpcap-sniff"
path = "src/cli/libpcap_capture.rs"
[dependencies]
jkcenum = { version = "0.2.1", features = ["derive"] }
thiserror = "1"
clap = { version = "4", features = ["derive"] }
hex = { version = "0.4", features = ["serde"]}
signal-hook = "0.3"
jppe = { version = "1.0.0", features = ["derive"] }
[build-dependencies]
bindgen = "0.69.1"