Rust Language - cfg_attr - Code clean with config attribute @JeremyChone
Rust Language - cfg_attr - Code clean with config attribute  @JeremyChone
Uploaded September 2023 | Updated November 2026, 2 days ago
Here is a quick video about explaining the goodness of cfg_attr attribute in Rust Programming, in the context of a production application.

Video and code at: rust10x.com/lang/cfg_attr

Support this channel at patreon.com/jeremychone
(Big thanks to my early patrons; you are helping a lot this channel and the rust10x work)

rust10x.com - New hub for Rust Production Coding (In the building)

Thanks to github.com/evanrichter for the tip.

Rust Web App Production Coding Video: youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q

Rust Web App Production Coding Rust10x URL: rust10x.com/web

Jeremy Chone & rust10x links:
- Rust10x - rust10x.com - Rust resources for proudction coding.
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x blueprint - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone
- Twitter - twitter.com/jeremychone

Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this video.

Other popular Rust Programming videos:

- Rust Web App Production Coding Blueprint - youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Axum - Full Course - youtube.com/watch?v=XZtlD_m59sM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Type State Builder Pattern - youtube.com/watch?v=pwmIQzLuYl0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Builder Pattern - youtube.com/watch?v=Z_3WOSiYYFY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Builder Pattern - youtube.com/watch?v=Z_3WOSiYYFY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Quick Start Code Layout - youtube.com/watch?v=oxx7MmN4Ib0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- AWESOME-APP Full Overview - Rust template for building Awesome Desktop Application: youtube.com/watch?v=BY_ZjPGqJJk&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Tauri Quick Introduction (Desktop App wit Rust Programming): youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Web App tutorials series: youtube.com/watch?v=VIig9IcQ-w8&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q&list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Bevy Full Tutorial - Game Development with Rust: youtube.com/watch?v=j7qHwb7geIM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust for Java Developers series: youtube.com/watch?v=iFdh4sPC5Tg&list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc&index=2&t=654s

Playlists:

- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming
- for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc

Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com

Other notes:

- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- Davinci Resolve and Fusion video editing.
- VSCode with Google Material icon themes (with some customization)
Rust Language - cfg_attr - Code clean with config attributeRust Tutorial for AWS-SDK-S3JC Rust Live Coding ➜ Simple Utility - CLI Get Keys From KeyChainUPDATE - devai v0.5 link below - with Lua and moreRust Web App  - 3/3 - FRONTEND #RealDOMRust Bevy Tutorial 2/3 - bi-lasers, explosion, …DARPA converts ALL C to Rust ProgrammingThe Simplest AI Coding CLI in Pure Rust 50 LinesRust Toggle End Of Lines - Rust10x VSCode ExtensionBurn - Deep Learning Framework for RustThe Rise of Rust & Web Assembly - Rust In The NewsAdding Structured Output to OpenAI / GenAI - Live Coding with Rust Explained
Jeremy Chone |

Rust Language - cfg_attr - Code clean with config attribute

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER