-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (45 loc) · 1.18 KB
/
Cargo.toml
File metadata and controls
50 lines (45 loc) · 1.18 KB
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
[package]
name = "netns-proxy"
version = "0.2.1"
edition = "2021"
description = "Forwards incoming requests to a given target while outgoing connections are created from different namespace"
authors = [
"Dustin Frisch <fooker@lab.sh>",
]
license = "MIT"
repository = "https://github.com/fooker/netns-proxy"
readme = "./README.md"
keywords = [
"linux",
"netns",
"proxy",
"namespace",
]
[dependencies]
anyhow = "1.0.98"
clap = { version = "4.5.38", features = ["derive"] }
nix = { version = "0.31.0", features = ["user", "sched", "fs"] }
tokio = { version = "1.45.0", features = ["full"] }
async-trait = "0.1.88"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
[lints.rust]
bad_style = "deny"
dead_code = "deny"
improper_ctypes = "deny"
non_shorthand_field_patterns = "deny"
no_mangle_generic_items = "deny"
overflowing_literals = "deny"
path_statements = "deny"
patterns_in_fns_without_body = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unconditional_recursion = "deny"
unused = "deny"
unused_allocation = "deny"
unused_comparisons = "deny"
unused_extern_crates = "deny"
unused_import_braces = "deny"
unused_parens = "deny"
unused_qualifications = "deny"
while_true = "deny"