-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
64 lines (56 loc) · 1.34 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
[package]
name = "sawp"
version = "0.13.1"
authors = ["Canadian Centre for Cyber Security <sa-sawp@cyber.gc.ca>"]
description = "Security Aware Wire Protocol parsing library"
readme = "README.md"
edition = "2021"
license = "MIT"
repository = "https://github.com/CybercentreCanada/sawp"
homepage = "https://github.com/CybercentreCanada/sawp"
keywords = ["parser", "streaming", "protocols", "network", "api"]
categories = ["parsing", "network-programming"]
include = [
"Cargo.toml",
"LICENSE",
"README.md",
"src/**/*.rs",
]
# Minimum supported rust version
rust-version = "1.63.0"
[workspace]
members = [
"sawp-dns",
"sawp-ffi",
"sawp-ffi-derive",
"sawp-modbus",
"sawp-resp",
"sawp-tftp",
"sawp-file",
"sawp-json",
"sawp-diameter",
"sawp-flags",
"sawp-flags-derive",
"sawp-gre",
"sawp-pop3",
"sawp-ike",
]
[features]
ffi = ["cbindgen", "sawp-ffi"]
# Makes error messages more descriptive and verbose at the cost of allocating
# more strings
verbose = []
[lib]
crate-type = ["staticlib", "rlib", "cdylib"]
bench = false
[build-dependencies]
cbindgen = {version = "0.15", optional = true}
[dev-dependencies]
criterion = "=0.3.4"
[dependencies]
sawp-ffi = { path = "sawp-ffi", version = "^0.13.1", optional = true}
nom = "7.1.1"
[[bench]]
name = "modbus"
path = "benches/modbus.rs"
harness = false