-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
71 lines (58 loc) · 1.92 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
68
69
70
71
[package]
name = "fluere"
version = "0.7.1-dev"
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.40", 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.2.0"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
libc = "0.2"
csv = "1.3"
nom = "7.1"
snafu = "0.8"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"
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", features = ["all-widgets"] }
crossterm = "0.27"
dirs = "5.0"
log = { version = "0.4", features = ["std"]}
indicatif = "0.17"
[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" },
]
[profile.release]
lto = 'fat'
opt-level = 3