Technology

Rust 1.100, .NET 11 and a Busy November

Rust finally makes the never type stable, C# 15 gets union types, Leptos 0.9 reaches release candidate, and Dioxus had its busiest month in a long while.

18 Nov 2026

Two of the platforms I care most about shipped big releases two days apart this month: .NET 11 on 10 November and Rust 1.100 on 12 November. Add a Leptos release candidate and a burst of Dioxus activity, and it's been a busy few weeks. Here's what matters, at least to me.

Rust 1.100: the never type, finally

Rust's version number has reached three digits. (It's 1.100, not 2.0: Rust's stability promise means there's no Rust 2.0 coming.) The headline is the never type, !, which is stable after ten years and five failed attempts. It's the type of things that never produce a value: return, break, panic!, std::process::exit. You could already write -> ! on a function; now you can use ! anywhere, for example Result<T, !> for an operation that can't fail. Infallible is now simply an alias for !.

There's a small breaking change behind it: in editions before 2024, the "never type fallback" changes from () to !. Most code won't notice. If a dependency breaks, a fixed version has probably already been released.

The other things I like:

  • DropGuard runs a closure when it goes out of scope, unless you dismiss it first. That makes "undo everything if anything fails" code very short:
use std::mem::DropGuard;

fn parse_all(nums: &mut Vec<u32>, input: &[&str]) -> Result<(), std::num::ParseIntError> {
    let len = nums.len();
    let mut nums = DropGuard::new(nums, move |nums| nums.truncate(len));
    for s in input {
        nums.push(s.parse()?); // an error here rolls the vector back
    }
    DropGuard::dismiss(nums); // success: keep the new numbers
    Ok(())
}
  • The Allocator API: the core Allocator trait is stable, so Vec and Box can use custom allocators.
  • Cargo now warns about unused dependencies, pointing at the line in Cargo.toml.
  • Dependency cooldowns: Cargo can wait a few days before it uses a newly published crate version. .NET got the same feature the same week, so I wrote a separate post about it.

.NET 11 and C# 15: unions at last

.NET 11 is a Standard Term Support release, supported until November 2028. .NET 10 remains the long-term support version, and that's where most of us at work will stay. One date matters more than the release itself, though: .NET 8 and .NET 9 both went out of support on 10 November. If anything you run is still on .NET 8, and in my experience a lot of things are, it's time to move it to 10.

The feature I've been waiting for is in C# 15: union types.

public sealed record Paid(decimal Amount);
public sealed record Overdue(int Days);
public sealed record Cancelled(string Reason);

public union InvoiceState(Paid, Overdue, Cancelled);

string Describe(InvoiceState state) => state switch
{
    Paid p => $"Paid {p.Amount:C}",
    Overdue o => $"{o.Days} days overdue",
    Cancelled c => $"Cancelled: {c.Reason}",
};

The compiler knows every case an InvoiceState can be and checks that the switch handles all of them. Rust developers will recognize this: it's what Rust's enum has done from day one. C# unions combine existing types rather than declaring the cases inline, so they aren't quite the same thing, but they get you most of the way. C# 15 also adds closed classes, which can only be derived from inside their own assembly, so a switch over a class hierarchy can be checked for completeness too.

Smaller things worth knowing: dotnet commands start faster (a Native AOT host for the CLI, and an MSBuild server that stays warm between builds), there's built-in Zstandard compression, and dotnet new mcpserver creates an MCP server for AI tools. Runtime Async, which moves async/await into the runtime itself, is still a preview.

Leptos 0.9: release candidate

Leptos, which this site runs on, has gone from the beta I wrote about in September to release candidates: rc0 on 15 October and rc1 on 31 October. The maintainers expect most apps to upgrade without changes. Two items in the notes matter for this site:

  • Server functions now respect the server's request size limit, including file uploads. Axum's default is 2 MB. Image uploads in my new editor go through a plain Axum route with its own 15 MB limit, so they're unaffected, but if you upload files through a server function, check your limit before you upgrade.
  • Form data moves to serde_qs 1.0, which should remove the need for #[server(default)] on lists that can be empty. This site has exactly that workaround, on the category checkboxes. One less hack.

I'll upgrade when 0.9.0 final is out.

Dioxus: busier than I feared

Last month I worried about Dioxus after the acquisition, counting merged pull requests per month. September had 11. October had 45, more than any month I counted, and November is at 9 so far. Version 0.8 is still in alpha. Alpha 2 and alpha 3 came out in mid-October, with security updates, newer webview versions for desktop and mobile, and fixes for Dioxus Native. For now my Dioxus code stays where it is.


Sources: Announcing Rust 1.100.0, Announcing .NET 11, Leptos releases, Dioxus releases, and GitHub's pull request search for the Dioxus counts.