Files
iroh/Makefile.toml
Franz Heinzmann bbc82b6554 fix: bind iroh-dns-server to both IPv4 and IPv6 (#4432)
## Description

This makes iroh-dns-server bind to both IPv4 and IPv6 by default for
HTTP, HTTPS, and DNS. The IPv6 wildcard (`::`) on Linux binds to both
IPv4 and IPv6, which is what we want for the default. People can still
override it via `bind_addr` in `config.toml`.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-27 10:05:56 +00:00

53 lines
1.7 KiB
TOML

# Use cargo-make to run tasks here: https://crates.io/crates/cargo-make
[env]
# Make per-member iterations inherit this Makefile so workspace tasks can be
# defined here without needing a per-crate Makefile.toml.
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
# Workspace members to exclude when setting `workspace = true` for a task.
# Must live at global env (not task-level) so it's read before workspace iteration
# is generated. Only the `check-external-types` task uses this.
CARGO_MAKE_WORKSPACE_SKIP_MEMBERS = ["iroh/bench"]
[tasks.format]
workspace = false
command = "cargo"
args = [
"fmt",
"--all",
"--",
"--config",
"unstable_features=true",
"--config",
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true,format_code_in_doc_comments=true",
]
[tasks.format-check]
workspace = false
command = "cargo"
args = [
"fmt",
"--all",
"--check",
"--",
"--config",
"unstable_features=true",
"--config",
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true,format_code_in_doc_comments=true",
]
[tasks.patchbay]
workspace = false
command = "cargo"
args = ["nextest", "run", "-p", "iroh", "-p", "iroh-dns-server", "--features", "iroh/qlog", "--test", "patchbay", "--profile", "patchbay", "${@}"]
[tasks.check-external-types]
description = "Run cargo check-external-types on workspace crates"
workspace = true
# cargo check-external-types needs a specific nightly toolchain,
# see https://github.com/awslabs/cargo-check-external-types#how-to-use
toolchain = "${TOOLCHAIN:nightly-2026-03-20}"
command = "cargo"
install_crate = false
args = ["check-external-types", "--all-features"]