forked from ystero-dev/scalpel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (48 loc) · 1.27 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
[package]
name = "scalpel"
version = "0.4.0"
license-file = "LICENSE"
readme = "README.md"
keywords = ["Wireshark", "pcap", "packet", "packet-parsing"]
authors = ["Abhijit Gadgil <gabhijit@iitbombay.org>"]
exclude = ["**/*.pcap", "**/perf.data*", "**/flamegraph.svg"]
description = "Packet dissection and sculpting in Rust."
repository = "https://github.com/gabhijit/scalpel"
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
hex = {version = "0.4", features = ["serde"]}
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
erased-serde = "0.4"
pyo3 = { version = "0.20", features = ["extension-module"], optional=true}
log = { version = "0.4", optional = true }
[dev-dependencies]
criterion = "0.5"
pcap = { version = "1.3"}
clap = { version = "4.0" , features = ["derive"] }
# Required by `cargo flamegraph`
[profile.bench]
debug = true
[[bench]]
name = "ip_dissect"
harness = false
[[bench]]
name = "ipv6_display"
harness = false
[[bench]]
name = "dns"
harness = false
[[example]]
name = "packet_json"
path = "examples/packet_as_json.rs"
[[example]]
name = "pcap"
path = "examples/pcap_example.rs"
[build-dependencies]
syn = { version = "1.0", features = ["full"]}
walkdir = "2"
[features]
python-bindings = ['pyo3']
logging = ["log"]