-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
65 lines (57 loc) · 1.2 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
[package]
edition = "2018"
name = "resynth"
version = "0.1.11"
description = "A packet synthesis language"
authors = ["Gianni Tedesco <[email protected]>"]
license = "MIT"
homepage = "https://github.com/giannitedesco/resynth"
repository = "https://github.com/giannitedesco/resynth"
readme = "README.md"
keywords = [
"packets",
"packet-synthesis",
"traffic-generation",
"networking",
"pcap",
]
categories = [
"command-line-utilities",
"compilers",
"network-programming",
]
include = [
"src/**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE.txt",
"examples/*.rsyn",
"doc/grammar.bnf",
"doc/parser.dot",
]
[profile.release]
lto = true
panic = "abort"
incremental = true
codegen-units = 8
[profile.bench]
lto = true
[workspace]
[dependencies]
pkt = { path = "pkt", version = "0.1.11" }
ezpkt = { path = "ezpkt", version = "0.1.11" }
lazy-regex = "2.2.2"
regex = "1.5.4"
phf = { version = "0.10.1", features = ["macros"] }
clap = {version = "3.2.14", optional = true}
atty = {version = "0.2.14", optional = true}
termcolor = {version = "1.1.2", optional = true}
[[bin]]
name = "resynth"
path = "src/cli.rs"
required-features = ["cli"]
[features]
default = [
"cli",
]
cli = ["clap", "atty", "termcolor"]