-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
32 lines (27 loc) · 995 Bytes
/
Copy pathCargo.toml
File metadata and controls
32 lines (27 loc) · 995 Bytes
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
[package]
name = "natstream"
version = "0.2.0"
edition = "2024"
rust-version = "1.85"
description = "Exports Linux conntrack NAT events as IPFIX or NetFlow v9 flow records"
repository = "https://github.com/FastNetMon/NatStream"
license = "Apache-2.0"
[dependencies]
clap = { version = "4", features = ["derive"] }
libc = "0.2"
log = "0.4"
env_logger = "0.11"
anyhow = "1"
# Keep the project's lint set active for local and CI builds. CI additionally
# checks every target and promotes warnings to errors.
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
# This library exists so the daemon and the benchmarks can share code, not as a
# published API, so there is no caller to warn about an ignored return value.
must_use_candidate = "allow"
[dev-dependencies]
criterion = { version = "0.7.0", default-features = false, features = ["cargo_bench_support"] }
# The default libtest bench harness is nightly-only; criterion brings its own.
[[bench]]
name = "pipeline"
harness = false