-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
67 lines (55 loc) · 1.89 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
66
67
[package]
name = "fluere"
version = "0.7.0"
authors = ["Skuld Norniern <skuldnorniern@gmail.com>"]
edition = "2021"
description = "Cross Platform Packet Capture, pcap to Netflow Conversion, Live Netflow Capture Tool"
readme = "README.md"
license = "Apache-2.0"
keywords = ["netflow", "fluereflow","cross-platform", "netflow-collector", "network-security"]
categories = ["network-programming"]
repository = "https://github.com/SkuldNorniern/fluere"
[dependencies]
clap = { version = "4.0.32", features = ["cargo"] }
tokio = { version = "1.36", features = ["full", "macros", "rt-multi-thread"] }
pnet = { version = "0.35", features = ["std"] }
pnet_macros_support = "0.35"
pnet_macros = "0.35"
# using custom forked version of pcap-rs for fixing audits
# pcap = { version = "1.1.0", git = "https://github.com/SkuldNorniern/pcap", rev = "40f1163" }
pcap = "2"
chrono = { version = "0.4.29", default-features = false, features = ["clock"] }
libc = "0.2"
csv = "1.3"
nom = "7.1.2"
snafu = "0.8.0"
serde = { version = "1.0.193", features = ["derive"] }
toml = "0.8.12"
fluere_plugin = { version = "0.2.0", path = "./fluere-plugin", features = ["log"] }
fluere-config = { version = "0.2.0", path = "./fluere-config", features = ["log"] }
fluereflow = { version = "0.3.2", path = "./fluereflow" }
ratatui = { version = "0.26.1", features = ["all-widgets"] }
crossterm = "0.27"
dirs = "5.0.1"
log = { version = "0.4.21", features = ["std"]}
indicatif = "0.17.8"
[workspace]
members = [
"fluere-plugin",
"fluere-config",
#"fluere-plugin-trait",
"fluereflow",
]
[package.metadata.rpm]
package = "fluere"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
fluere = { path = "/usr/bin/fluere" }
[package.metadata.generate-rpm.requires]
libpcap = "*"
openssl = "*"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/fluere", dest = "/usr/bin/fluere", mode = "755" },
]