forked from ravi861/packet-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (31 loc) · 766 Bytes
/
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
[package]
name = "packet_rs"
version = "0.4.0"
authors = ["Ravi V"]
edition = "2021"
description = """
A Scapy like interface to build and define custom packet headers
"""
keywords = ["networking", "headers", "packets", "generation", "scapy"]
repository = "https://github.com/ravi861/packet-rs"
readme = "README.md"
license = "Apache-2.0"
exclude = [".github", ".gitignore", "*.pcap", "*.log", "tags"]
[dependencies]
bitfield = "0.13.2"
paste = "1.0.5"
pyo3 = { version = "0.16.5", optional = true }
pyo3_nullify = { version = "0.1.0" }
[lib]
name = "packet_rs"
crate-type = ["cdylib", "rlib"]
[features]
python-module = ["pyo3/extension-module"]
default = []
[[example]]
name = "pkt"
[profile.release]
strip = true
codegen-units = 1
lto = true
panic = "abort"