[package]
edition = "2024"
rust-version = "1.96"
name = "arcbox-helper"
version = "0.4.21"
authors = [
"ArcBox Labs <team@arcbox.dev>",
"AprilNEA <dev@aprilnea.me> (https://aprilnea.me)",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Privileged helper daemon for host mutations (routes, DNS, sockets)"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/arcboxlabs/arcbox"
[lib]
name = "arcbox_helper"
path = "src/lib.rs"
[[bin]]
name = "arcbox-helper"
path = "src/main.rs"
[[test]]
name = "connection_test"
path = "tests/connection_test.rs"
[[test]]
name = "dns_test"
path = "tests/dns_test.rs"
[[test]]
name = "route_test"
path = "tests/route_test.rs"
[[test]]
name = "socket_test"
path = "tests/socket_test.rs"
[dependencies.arcbox-constants]
version = "0.4.21"
features = ["std"]
[dependencies.arcbox-logging]
version = "0.4.21"
default-features = false
[dependencies.arcbox-route]
version = "0.4.21"
[dependencies.futures]
version = "0.3"
[dependencies.ipnetwork]
version = "0.21.1"
[dependencies.libc]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tarpc]
version = "0.37"
features = [
"serde-transport",
"unix",
"serde-transport-bincode",
]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"full",
"tracing",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"tracing",
"test-util",
"macros",
]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_if = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
duration_suboptimal_units = "allow"
if_not_else = "allow"
items_after_statements = "allow"
manual_is_multiple_of = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
wildcard_imports = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]