Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- ${{github.event_name == 'pull_request' || github.event_name == 'push'}}

rust_toolchain:
- version: 1.95.0
- version: 1.98.1
label: latest

build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ env:
is_tag_push: ${{ startsWith(github.ref, 'refs/tags/') }}
is_dispatch: ${{ github.event_name == 'workflow_dispatch' }}

prev_rust: &prev_rust 1.94.1
latest_rust: &latest_rust 1.95.0
prev_rust: &prev_rust 1.97.1
latest_rust: &latest_rust 1.98.1

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ env:

latest_elixir: &latest_elixir 1.19.5
latest_otp: &latest_otp 28.4.2
latest_rust: &latest_rust 1.95.0
latest_rust: &latest_rust 1.98.1

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ env:
python_version: 3.12
# The Rust toolchain version to build the wheels with. Should be latest supported
# version (MSRV + 1).
rust_toolchain: 1.95.0
rust_toolchain: 1.98.1

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Put changes for the upcoming release here!

- Changed (Rust API, lang bindings): the `TS_RS_EXPERIMENT` environment variable is no longer required to use the
library. The library logs a warning during initialization, as a reminder that it's still work-in-progress software.
- Updated MSRV to 1.97.

## [0.5.0](https://github.com/tailscale/tailscale-rs/releases/tag/v0.5.0) - 2026-08-14

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ backwards-compatibility guarantees.

## MSRV and Edition

The current MSRV is 1.94.1. The current edition is Rust 2024.
The current MSRV is 1.97. The current edition is Rust 2024.

`tailscale-rs` has a rolling MSRV (Minimum Supported Rust Version) policy to support the current and previous Rust
compiler versions, and the latest [edition of Rust](https://doc.rust-lang.org/edition-guide/editions/index.html).
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.95.0"
channel = "1.98.1"
components = ["rustfmt", "clippy"]
4 changes: 2 additions & 2 deletions ts_netstack_smoltcp/examples/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ where

let mut last_send = std::time::Instant::now();

for i in 0.. {
for i in 0..i32::MAX {
std::thread::sleep(
core::time::Duration::from_millis(300).saturating_sub(last_send.elapsed()),
);
Expand Down Expand Up @@ -233,7 +233,7 @@ where

let mut ticker = tokio::time::interval(core::time::Duration::from_millis(300));

for i in 0.. {
for i in 0..i32::MAX {
ticker.tick().await;

sock.write_all(format!("hello {i}").as_bytes())
Expand Down
2 changes: 1 addition & 1 deletion ts_netstack_smoltcp/examples/udp_tun.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn netstack_send(sock: impl Borrow<UdpSocket>, peer: SocketAddr) {
sock.send_to_blocking(SocketAddr::from(([1, 2, 3, 4], 53)), b"hello")
.unwrap();

for i in 0.. {
for i in 0..i32::MAX {
sock.send_to_blocking(peer, format!("hello{i}").as_bytes())
.unwrap();
tracing::debug!(i, "sent hello packet");
Expand Down
2 changes: 1 addition & 1 deletion ts_netstack_smoltcp/examples/udp_tun_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async fn netstack_send(sock: impl Borrow<UdpSocket>, peer: SocketAddr) {
.await
.unwrap();

for i in 0.. {
for i in 0..i32::MAX {
sock.send_to(peer, format!("hello{i}").as_bytes())
.await
.unwrap();
Expand Down