-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
61 lines (46 loc) · 1.39 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
[package]
publish = false
name = "net-gazer"
version = "0.1.0"
authors = ["Serguei Oleinik <162591+soleinik@users.noreply.github.com>"]
edition = "2018"
repository = "https://github.com/soleinik/net-gazer-sensor"
description = "net-gazer - packet inspection framework, core component to run plugins"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members=[
"lib-data",
"lib-comm",
"lib-plugins",
]
[dependencies]
lib-data = { path="./lib-data" }
lib-comm = { path="./lib-comm" }
lib-plugins = { path="./lib-plugins" }
log = "0.4"
env_logger = "0.11"
pnet = "0.35"
ipnetwork = "0.20"
async-std = { version = "1.5.0", default-features = true, features = ["attributes"] }
#futures = "0.3"
bitflags = "2.6"
[package.metadata.deb]
depends = "$auto,systemd,rsyslog"
section = "utils"
priority = "optional"
assets = [
# binary
["target/release/net-gazer", "usr/local/bin/", "755"],
# config
["etc/net-gazer/net-gazer.toml", "usr/local/etc/net-gazer/net-gazer.toml", "644"],
# systemd unit
["etc/misc/systemd/net-gazer.service", "lib/systemd/system/", "644"],
# rsyslog.d
["etc/misc/rsyslog.d/60-net-gazer.conf", "etc/rsyslog.d/", "644"],
# assets
["LICENSE", "/usr/share/doc/net-gazer/", "644"],
]
maintainer-scripts = "etc/misc/pkg-scripts"
conf-files=[
"usr/local/etc/net-gazer/net-gazer.toml",
]