Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic) from 1.14.0 to 1.15.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md">portable-atomic's changelog</a>.</em></p> <blockquote> <h2>[1.15.0] - 2026-08-09</h2> <ul> <li> <p>Work around <a href="https://redirect.github.com/rust-lang/compiler-builtins/pull/1234"><code>core::sync::atomic</code> bug</a> which may cause data races with non-relaxed load/CAS on pre-v6 ARM Linux/Android due to missing memory barrier. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Make {8,16,32}-bit non-relaxed load compatible with read-only memory on pre-v6 ARM Linux/Android. Previously only relaxed load was compatible with read-only memory. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Make <code>from_ptr</code> <code>const fn</code> on Rust 1.58+. Previously it was <code>const fn</code> only on Rust 1.83+. (<a href="https://github.com/taiki-e/portable-atomic/commit/c09d0e624f1416a01bbb11bba22c148b42dcb081">c09d0e6</a>)</p> </li> <li> <p>Optimize non-relaxed load/store on pre-v6 ARM Linux/Android. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Optimize fence on pre-v6 ARM Linux/Android. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Optimize 128-bit CAS/swap/min/max on s390x. This also includes removing the code complexity that caused the bug fixed in 1.14.0. (<a href="https://github.com/taiki-e/portable-atomic/commit/33cd7e55acfe1438c853b20b09ec786613228122">33cd7e5</a>, <a href="https://github.com/taiki-e/portable-atomic/commit/6c8f764bee3c3ca570552e49a8117402b0186ead">6c8f764</a>)</p> </li> <li> <p>Documentation improvements.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/taiki-e/portable-atomic/commit/e4595528211f1d53b7f4d93e528ef84b491fc871"><code>e459552</code></a> Release 1.15.0</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/cb58081f88cd02681dbb32482acec7ae198850d5"><code>cb58081</code></a> Update changelog</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c5b8b98ba4a37c85e7330ab67f5328c336db0207"><code>c5b8b98</code></a> arm_linux: Remove useless cache</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/b97efba24aabde59585f37db3bf94d1f5ecfd19a"><code>b97efba</code></a> ci: Re-enable detect_false test on Android</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/eaee7ec590dbab02c45acd69bbb5690f2cbbf9f8"><code>eaee7ec</code></a> detect: Update comments</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c6fab541d4c36704dcfe086028b0575df76947b9"><code>c6fab54</code></a> tests: AArch64 L4Re is now available as builtin target</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/d0832a115b07c7bce149e96da7bdaff2b3ca9f4a"><code>d0832a1</code></a> tsan: Enable Adaptive Delay</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/81c2ee5fe02a9ccc05fc91a36fb4fa496aa2eb51"><code>81c2ee5</code></a> ci: Clean up sanitizer job</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/cfb767de5d1858ed88804d97f1d8f08da6d760ba"><code>cfb767d</code></a> Optimize non-relaxed load/store/fence and work around compiler-builtins bug o...</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/f19289e1fc1178159cfc01c15883c9b2b5077c0f"><code>f19289e</code></a> ci: Use full-length rev for mgba-test-runner</li> <li>Additional commits viewable in <a href="https://github.com/taiki-e/portable-atomic/compare/v1.14.0...v1.15.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
less net work for networks
What is iroh?
Iroh gives you an API for dialing by public key. You say “connect to that phone”, iroh will find & maintain the fastest connection for you, regardless of where it is.
Hole-punching
The fastest route is a direct connection, so if necessary, iroh tries to hole-punch. Should this fail, it can fall back to an open ecosystem of public relay servers. To ensure these connections are as fast as possible, we continuously measure iroh.
Built on QUIC
Iroh uses noq to establish QUIC connections between endpoints. This way you get authenticated encryption, concurrent streams with stream priorities, a datagram transport and avoid head-of-line-blocking out of the box.
Compose Protocols
Use pre-existing protocols built on iroh instead of writing your own:
- iroh-blobs for BLAKE3-based content-addressed blob transfer scaling from kilobytes to terabytes
- iroh-gossip for establishing publish-subscribe overlay networks that scale, requiring only resources that your average phone can handle
- iroh-docs for an eventually-consistent key-value store of iroh-blobs blobs
Getting Started
Rust Library
It's easiest to use iroh from rust.
Install it using cargo add iroh, then on the connecting side:
const ALPN: &[u8] = b"iroh-example/echo/0";
let endpoint = Endpoint::bind().await?;
// Open a connection to the accepting endpoint
let conn = endpoint.connect(addr, ALPN).await?;
// Open a bidirectional QUIC stream
let (mut send, mut recv) = conn.open_bi().await?;
// Send some data to be echoed
send.write_all(b"Hello, world!").await?;
send.finish()?;
// Receive the echo
let response = recv.read_to_end(1000).await?;
assert_eq!(&response, b"Hello, world!");
// As the side receiving the last application data - say goodbye
conn.close(0u32.into(), b"bye!");
// Close the endpoint and all its connections
endpoint.close().await;
And on the accepting side:
let endpoint = Endpoint::bind().await?;
let router = Router::builder(endpoint)
.accept(ALPN.to_vec(), Arc::new(Echo))
.spawn()
.await?;
// The protocol definition:
#[derive(Debug, Clone)]
struct Echo;
impl ProtocolHandler for Echo {
async fn accept(&self, connection: Connection) -> Result<()> {
let (mut send, mut recv) = connection.accept_bi().await?;
// Echo any bytes received back directly.
let bytes_sent = tokio::io::copy(&mut recv, &mut send).await?;
send.finish()?;
connection.closed().await;
Ok(())
}
}
The full example code with more comments can be found at echo.rs.
Or use one of the pre-existing protocols, e.g. iroh-blobs or iroh-gossip.
Other Languages
If you want to use iroh from other languages, make sure to check out iroh-ffi, the repository for FFI bindings.
Links
Repository Structure
This repository contains a workspace of crates:
iroh: The core library for hole-punching & communicating with relays.iroh-relay: The relay client and server implementation. This is the code we run in production for the public relays (and you can, too!).iroh-base: Common types likeEndpointIdorRelayUrl.iroh-dns-server: DNS server implementation powering the DNS/Pkarr address lookup for EndpointIds, running at dns.iroh.link.
License
Copyright 2025 N0, INC.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.