Files
DavHau fda4af99a1
tests / test (stable, map[name:macOS os:macOS-latest toolchain:aarch64-apple-darwin]) (push) Has been cancelled
tests / check-deps (push) Has been cancelled
tests / lint (push) Has been cancelled
tests / test (beta, map[name:Linux GNU os:ubuntu-latest toolchain:x86_64-unknown-linux-gnu]) (push) Has been cancelled
tests / test (beta, map[name:Windows GNU os:windows-latest toolchain:x86_64-pc-windows-gnu]) (push) Has been cancelled
tests / test (beta, map[name:Windows MSVC os:windows-latest toolchain:x86_64-pc-windows-msvc]) (push) Has been cancelled
tests / test (beta, map[name:macOS os:macOS-latest toolchain:aarch64-apple-darwin]) (push) Has been cancelled
tests / test (nightly, map[name:Linux GNU os:ubuntu-latest toolchain:x86_64-unknown-linux-gnu]) (push) Has been cancelled
tests / test (nightly, map[name:Windows GNU os:windows-latest toolchain:x86_64-pc-windows-gnu]) (push) Has been cancelled
tests / test (nightly, map[name:Windows MSVC os:windows-latest toolchain:x86_64-pc-windows-msvc]) (push) Has been cancelled
tests / test (nightly, map[name:macOS os:macOS-latest toolchain:aarch64-apple-darwin]) (push) Has been cancelled
tests / test (stable, map[name:Linux GNU os:ubuntu-latest toolchain:x86_64-unknown-linux-gnu]) (push) Has been cancelled
tests / test (stable, map[name:Windows GNU os:windows-latest toolchain:x86_64-pc-windows-gnu]) (push) Has been cancelled
tests / test (stable, map[name:Windows MSVC os:windows-latest toolchain:x86_64-pc-windows-msvc]) (push) Has been cancelled
feat: add mDNS local-network peer discovery with --no-mdns opt-out
Enable iroh MdnsAddressLookup by default so peers can find each other on
the LAN without a relay; add a --no-mdns flag to disable it.

- src/main.rs: wire MdnsAddressLookup into the endpoint builder, add the
  --no-mdns common flag
- Cargo.toml: enable iroh "address-lookup-mdns" feature (pulls in
  swarm-discovery, bumps simple-dns)
- flake.nix: filter .nix files and flake.lock out of the crate source to
  avoid spurious rebuilds; crate2nix follows nixpkgs; add
  dumbpipe-mdns-test NixOS VM test; pass --no-mdns in the relay-only test
- .gitignore: ignore result-*
- Cargo.lock / Cargo.nix / flake.lock: regenerated dependency lockfiles
2026-06-01 15:24:40 +00:00

42 lines
1.1 KiB
TOML

[package]
name = "dumbpipe"
version = "0.35.0"
edition = "2021"
authors = ["Rüdiger Klaehn <rklaehn@protonmail.com>", "n0 team"]
keywords = ["netcat", "cli", "network", "p2p", "holepunching"]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/n0-computer/dumbpipe"
description = "A cli tool to pipe data over the network, with NAT hole punching"
readme = "README.md"
# Sadly this also needs to be updated in .github/workflows/ci.yml
rust-version = "1.89"
[dependencies]
clap = { version = "4.4.10", features = ["derive"] }
hex = "0.4.3"
iroh = { version = "0.97", default-features = false, features = ["address-lookup-mdns"] }
iroh-tickets = { version = "0.4" }
noq = "0.17"
rand = "0.9.2"
tokio = { version = "1.34.0", features = ["full"] }
tokio-util = "0.7.10"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
data-encoding = "2.9.0"
n0-error = "0.1"
[dev-dependencies]
duct = "0.13.6"
nix = { version = "0.29", features = ["signal", "process"] }
tempfile = "3.8"
[profile.release]
panic = "abort"
opt-level = "s"
codegen-units = 1
lto = true
debug = "none"
strip = true