<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/announcing-rust-1-80-0-yyvopauht" -->

---
title: Announcing Rust 1.80.0 | daily.dev
description: Rust 1.80.0 introduces new features such as LazyCell and LazyLock types for deferred data initialization, support for exclusive range patterns in pattern...
canonical: https://daily.dev/posts/announcing-rust-1-80-0-yyvopauht
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Announcing Rust 1.80.0 | daily.dev
og:description: Rust 1.80.0 introduces new features such as LazyCell and LazyLock types for deferred data initialization, support for exclusive range patterns in pattern...
og:url: https://daily.dev/posts/announcing-rust-1-80-0-yyvopauht
og:image: https://api.daily.dev/og/posts/yyVoPAUhT.png
og:image:alt: Announcing Rust 1.80.0
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Announcing Rust 1.80.0

**[Collections](https://daily.dev/sources/collections)** · 2 min read · 8 upvotes · 0 comments

## Summary

Rust 1.80.0 introduces new features such as LazyCell and LazyLock types for deferred data initialization, support for exclusive range patterns in pattern matching, and enhanced Cargo checks with the `--check-cfg` flag. Alongside these, several newly stabilized APIs are now available, enriching the development experience. Users are encouraged to update to this latest version using `rustup`.

## Content

# Rust 1.80.0 Released: LazyCell and LazyLock, Enhanced Config Checks, and Exclusive Range Patterns

Rust 1.80.0 is now available, bringing a host of new features and improvements to the language and its associated tools. This release includes the introduction of LazyCell and LazyLock types, enhancements to Cargo checks, and support for exclusive range patterns, among other updates.

## Key Features and Improvements

### Stabilization of LazyCell and LazyLock

Rust 1.80.0 introduces LazyCell and LazyLock types, which allow for deferred data initialization until first access. These types function similarly to OnceCell and OnceLock but are integrated into the cell itself, providing better control over lazy initialization.

### Exclusive Ranges in Patterns

Pattern matching in Rust sees a significant enhancement with the support for exclusive endpoints in ranged patterns. This change improves exhaustiveness checking and introduces new lints to help developers write more robust code.

### Enhanced Cargo Checks

Cargo 1.80 now includes improved checks for cfg names and values with the `--check-cfg` flag. This enhancement ensures that configuration names and values are correctly validated, preventing potential issues during compilation.

### Newly Stabilized APIs

In addition to the major features, Rust 1.80.0 includes several newly stabilized APIs, broadening the range of stable features available to developers. These new APIs contribute to a more feature-rich and stable development environment.

## How to Update

Users can update to Rust 1.80.0 using `rustup` with the following command:

```sh
rustup update stable
```

This release addresses several areas of improvement, including the initialization of lazy data types and enhanced pattern matching capabilities. We encourage all Rust developers to update to this latest version to take advantage of these new features and improvements.

Stay tuned for future updates as the Rust language and its ecosystem continue to evolve and improve.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/announcing-rust-1-80-0-yyvopauht)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Announcing Rust 1.80.0","url":"https://daily.dev/posts/announcing-rust-1-80-0-yyvopauht","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/announcing-rust-1-80-0-yyvopauht"},"datePublished":"2024-07-25T19:27:31.814Z","dateModified":"2024-07-27T17:07:58.233Z","description":"Rust 1.80.0 introduces new features such as LazyCell and LazyLock types for deferred data initialization, support for exclusive range patterns in pattern...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/10c030b2429f801a5aed8756bdece9d2?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/10c030b2429f801a5aed8756bdece9d2?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/announcing-rust-1-80-0-yyvopauht","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":8},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,rust","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Announcing Rust 1.80.0"}]}
```

