Rustacean
Search
Search
Dark mode
Light mode
Explorer
Tag: rust
552 items with this tag.
Jun 21, 2026
index
rust
index
meta
Jun 21, 2026
Rust Brain Home
rust
moc
home
Jun 21, 2026
Ambiguous macro_rules Matchers
rust
macros
macro-rules
antipattern
Jun 21, 2026
Assuming String Indexes Are Characters
rust
string
unicode
indexing
antipattern
Jun 21, 2026
Assuming wasm32 Means Browser
rust
wasm
cfg
browser
targets
antipattern
Jun 21, 2026
Avoiding Premature Optimization
rust
performance
optimization
antipattern
Jun 21, 2026
Blocking in Async
rust
async
blocking
futures
antipattern
Jun 21, 2026
Blocking the Async Executor
rust
async
tokio
blocking
Jun 21, 2026
Broad should_panic Tests
rust
testing
panic
Jun 21, 2026
Deref Polymorphism Antipattern
rust
deref
traits
composition
antipattern
Jun 21, 2026
Eager Work in Option and Result Defaults
rust
std
option
result
lazy-evaluation
antipattern
combinators
Jun 21, 2026
Expecting Per-Field Mutability in Structs
rust
structs
mutability
footgun
Jun 21, 2026
Fire-and-Forget Tokio Tasks
rust
async
tokio
tasks
Jun 21, 2026
Glob Imports in Public Code
rust
glob-imports
use
footgun
Jun 21, 2026
HashMap Iteration Order Is Arbitrary
rust
collections
hashmap
testing
determinism
Jun 21, 2026
Holding Collection Element References Across Mutation
rust
collections
borrowing
footgun
Jun 21, 2026
Holding Locks Across Await
rust
async
locks
mutex
Jun 21, 2026
Holding Locks Too Long
rust
concurrency
locks
mutex
Jun 21, 2026
Ignoring Channel Disconnects
rust
concurrency
channels
shutdown
Jun 21, 2026
Implementing Borrow for Partial Views
rust
borrow
hashmap
api-design
Jun 21, 2026
Index Panics vs get
rust
indexing
option
panic
antipattern
Jun 21, 2026
Integer Overflow Assumptions
rust
integers
overflow
arithmetic
antipattern
Jun 21, 2026
Is Some Then Unwrap
rust
option
pattern-matching
unwrap
antipattern
Jun 21, 2026
Lock Order Reversal
rust
concurrency
deadlock
locks
Jun 21, 2026
Long-Lived RefCell Borrows
rust
refcell
borrowing
antipattern
interior-mutability
Jun 21, 2026
Manual Index Loops for Speed
rust
iterators
performance
footgun
Jun 21, 2026
Moving Out of FnMut Closures
rust
closures
fnmut
footgun
Jun 21, 2026
Mutating Collection Keys In Place
rust
collections
hashmap
btreemap
invariants
Jun 21, 2026
Needless Clone
rust
ownership
clone
performance
antipattern
Jun 21, 2026
Non-Additive Feature Flags
rust
cargo
features
semver
Jun 21, 2026
Non-Cancellation-Safe select! Branches
rust
async
tokio
cancellation
select
Jun 21, 2026
Non-dyn-Compatible Traits as Trait Objects
rust
antipattern
dyn
object-safety
Jun 21, 2026
Overbroad Catch-All Match Arms
rust
match
wildcard
footgun
Jun 21, 2026
Overbroad Version Requirements
rust
cargo
dependencies
semver
Jun 21, 2026
Overconstraining Lifetimes
rust
lifetimes
borrowing
antipattern
Jun 21, 2026
Overgeneric Public APIs
rust
generics
api-design
antipattern
Jun 21, 2026
Overusing Trait Objects
rust
antipattern
trait-objects
performance
Jun 21, 2026
Panicking From Implementations
rust
conversions
panic
api-design
Jun 21, 2026
Panicking in Libraries
rust
panic
libraries
api-design
Jun 21, 2026
Partially Moved Structs with Update Syntax
rust
structs
move-semantics
footgun
Jun 21, 2026
Pattern Variable Shadowing
rust
patterns
shadowing
footgun
Jun 21, 2026
Premature Arc Mutex
rust
concurrency
arc
mutex
antipattern
Jun 21, 2026
Rc RefCell Overuse
rust
rc
refcell
interior-mutability
antipattern
Jun 21, 2026
Relying on Integer Overflow
rust
antipattern
integers
overflow
Jun 21, 2026
Returning References to Locals
rust
ownership
lifetimes
borrowing
Jun 21, 2026
Sentinel Values
rust
option
result
invariants
antipattern
Jun 21, 2026
Shared State Between Parallel Tests
rust
testing
parallelism
Jun 21, 2026
Silencing Edition Migration Lints
rust
editions
lints
migration
Jun 21, 2026
Speculative Micro-Optimization
rust
performance
micro-optimization
antipattern
Jun 21, 2026
Stale Slice Indices
rust
ownership
slices
footgun
Jun 21, 2026
Storing References in Structs Without Lifetimes
rust
structs
lifetimes
references
footgun
Jun 21, 2026
String Byte Indexing
rust
strings
utf8
footgun
Jun 21, 2026
Stringly-Typed Code
rust
types
newtype
enum
antipattern
Jun 21, 2026
Stringly-Typed Errors
rust
errors
strings
api-design
Jun 21, 2026
Swallowing Errors
rust
errors
diagnostics
logging
Jun 21, 2026
The static mut Footgun and &raw
rust
unsafe
static-mut
antipattern
Jun 21, 2026
Transmute as a Shortcut
rust
unsafe
transmute
antipattern
Jun 21, 2026
Treating mod as include
rust
modules
mod
footgun
Jun 21, 2026
Unchecked cfg Names
rust
cfg
lints
footgun
Jun 21, 2026
Unconsumed Iterator Adapters
rust
iterators
lazy
footgun
Jun 21, 2026
Uncovered Type Parameters in Foreign Impl
rust
coherence
orphan-rule
traits
antipattern
Jun 21, 2026
Unhygienic Procedural Macro Output
rust
macros
procedural-macros
hygiene
antipattern
Jun 21, 2026
Unnecessary Bounds on Data Types
rust
generics
bounds
antipattern
Jun 21, 2026
Unnecessary Collect
rust
iterators
collect
allocation
antipattern
Jun 21, 2026
Unsafe Send and Sync Implementations
rust
concurrency
unsafe
send
sync
Jun 21, 2026
Unsynchronized static mut in Interrupts
rust
embedded
interrupts
unsafe
Jun 21, 2026
Untested Documentation Examples
rust
documentation
doctest
Jun 21, 2026
Unwrap and Expect Overuse
rust
unwrap
expect
panic
Jun 21, 2026
Using Type Aliases as Newtypes
rust
antipattern
aliases
newtype
type-safety
Jun 21, 2026
Using rustc Directly for Cargo-Sized Projects
rust
rustc
cargo
antipattern
tooling
Jun 21, 2026
Aliasing and Provenance
rust
unsafe
aliasing
provenance
Jun 21, 2026
Anatomy of a Cargo Project
rust
cargo
project-structure
tooling
Jun 21, 2026
Arc
rust
concurrency
arc
smart-pointers
Jun 21, 2026
Arithmetic Operator Traits Add and Mul
rust
std
traits
operators
add
mul
Jun 21, 2026
Arrays
rust
arrays
compound-types
indexing
Jun 21, 2026
AsRef and AsMut Conversion Traits
rust
std
traits
conversions
asref
asmut
Jun 21, 2026
Assertion Macros in Tests
rust
testing
assertions
Jun 21, 2026
Associated Constants
rust
traits
constants
associated-items
Jun 21, 2026
Associated Functions
rust
structs
associated-functions
impl
Jun 21, 2026
Associated Types
rust
traits
associated-types
generics
Jun 21, 2026
Async Closures
rust
async
closures
futures
Jun 21, 2026
Async Traits
rust
async
traits
Jun 21, 2026
Atomics
rust
concurrency
atomics
memory-ordering
Jun 21, 2026
Attribute Macros
rust
macros
attributes
procedural-macros
Jun 21, 2026
BTreeMap Ordering and Ranges
rust
collections
btreemap
ordering
ranges
Jun 21, 2026
BTreeMap and BTreeSet
rust
collections
btree
ordered
Jun 21, 2026
Bare-Metal Programming
rust
embedded
bare-metal
startup
Jun 21, 2026
Barrier
rust
concurrency
barrier
threads
synchronization
Jun 21, 2026
BinaryHeap Priority Queues
rust
collections
binaryheap
priority-queue
ordering
Jun 21, 2026
Binding with @
rust
patterns
bindings
at-patterns
Jun 21, 2026
Blanket Implementations
rust
traits
blanket-impls
coherence
Jun 21, 2026
Boolean Logic
rust
bool
boolean
operators
conditions
Jun 21, 2026
Borrowing
rust
ownership
borrowing
memory
Jun 21, 2026
Box
rust
box
heap
smart-pointers
Jun 21, 2026
Buffered IO with BufReader and BufWriter
rust
std
io
buffering
bufreader
bufwriter
Jun 21, 2026
Build Scripts (build.rs)
rust
cargo
build-scripts
ffi
Jun 21, 2026
Build-Time Code Execution
rust
cargo
build-scripts
supply-chain
Jun 21, 2026
Bytes Chars and Unicode
rust
unicode
utf8
string
chars
Jun 21, 2026
Cancellation Safety
rust
async
cancellation
tokio
Jun 21, 2026
Capacity and Reallocation
rust
collections
allocation
capacity
Jun 21, 2026
Capturing the Environment
rust
closures
borrowing
ownership
Jun 21, 2026
Cargo Basics
rust
cargo
tooling
packages
Jun 21, 2026
Cargo Build Run Check Test
rust
cargo
build
test
tooling
Jun 21, 2026
Cargo Configuration Hierarchy
rust
cargo
configuration
config
environment
Jun 21, 2026
Cargo Source Overrides
rust
cargo
dependencies
overrides
vendoring
Jun 21, 2026
Cargo Workspaces
rust
cargo
workspaces
monorepo
Jun 21, 2026
Cargo.lock
rust
cargo
lockfile
reproducibility
Jun 21, 2026
Cargo.toml Manifest
rust
cargo
manifest
metadata
Jun 21, 2026
Cell
rust
cell
interior-mutability
smart-pointers
Jun 21, 2026
Channels
rust
concurrency
channels
message-passing
Jun 21, 2026
Choosing the Right Rust Crate
rust
crates
dependencies
supply-chain
ecosystem
Jun 21, 2026
Clone Semantics in std
rust
std
traits
clone
copy
ownership
Jun 21, 2026
Closure Type Inference
rust
closures
inference
types
Jun 21, 2026
Closures
rust
closures
functions
functional
Jun 21, 2026
Codegen and Optimization Flags
rust
codegen
optimization
compiler
Jun 21, 2026
Coherence and the Orphan Rule
rust
traits
coherence
orphan-rule
Jun 21, 2026
Comments
rust
comments
syntax
documentation
Jun 21, 2026
Conditional Compilation (cfg)
rust
cfg
conditional-compilation
compiler
Jun 21, 2026
Condvar
rust
concurrency
condvar
mutex
blocking
Jun 21, 2026
Const Generics and Const Parameters
rust
generics
const-generics
type-system
Jun 21, 2026
Constants
rust
constants
const
compile-time
Jun 21, 2026
Consuming Adapters
rust
iterators
consumers
adapters
Jun 21, 2026
Control Flow
rust
control-flow
syntax
expressions
Jun 21, 2026
Conversion Traits
rust
conversions
traits
api-design
Jun 21, 2026
Converting Between Option and Result
rust
std
option
result
conversion
combinators
Jun 21, 2026
Copy and Clone
rust
ownership
copy
clone
Jun 21, 2026
Cow
rust
cow
clone-on-write
borrowing
smart-pointers
Jun 21, 2026
Crate Roots
rust
crates
modules
crate-root
Jun 21, 2026
Custom Error Types
rust
errors
enums
api-design
Jun 21, 2026
Declarative Macros
rust
macros
declarative-macros
metaprogramming
Jun 21, 2026
Default Implementations
rust
traits
defaults
api-design
Jun 21, 2026
Dependencies and Version Requirements
rust
cargo
dependencies
versions
Jun 21, 2026
Deref and DerefMut
rust
deref
derefmut
smart-pointers
Jun 21, 2026
Dereferencing Raw Pointers
rust
unsafe
pointers
ub
Jun 21, 2026
Derive Macros
rust
macros
derive
procedural-macros
Jun 21, 2026
Destructor Semantics with Drop
rust
std
traits
drop
destructors
raii
Jun 21, 2026
Destructuring
rust
patterns
destructuring
enums
Jun 21, 2026
Display and Debug Formatting Traits
rust
std
traits
formatting
display
debug
Jun 21, 2026
Doctest Attributes
rust
rustdoc
doctest
documentation
Jun 21, 2026
Documentation Tests
rust
documentation
doctest
Jun 21, 2026
Drop Check
rust
drop-check
dropck
lifetimes
unsafe
Jun 21, 2026
Dynamically Sized Types
rust
types
dst
sized
pointers
Jun 21, 2026
Edition 2024
rust
edition-2024
migration
compiler
Jun 21, 2026
Embedded Rust Basics
rust
embedded
firmware
basics
Jun 21, 2026
Encapsulation in Rust
rust
oop
encapsulation
api-design
Jun 21, 2026
Enum Variants with Data
rust
enums
variants
data-modeling
Jun 21, 2026
Enums
rust
enums
pattern-matching
types
Jun 21, 2026
Equality Traits PartialEq and Eq
rust
std
traits
equality
partialeq
eq
Jun 21, 2026
Error Sources and Chains
rust
errors
source
diagnostics
Jun 21, 2026
Exhaustiveness
rust
match
exhaustiveness
enums
Jun 21, 2026
Extern statics
rust
unsafe
ffi
extern
statics
Jun 21, 2026
FFI with C
rust
ffi
c
unsafe
Jun 21, 2026
Fallible Conversion Traits (std)
rust
std
traits
conversions
tryfrom
tryinto
Jun 21, 2026
Feature Flags
rust
cargo
features
cfg
Jun 21, 2026
Feature Resolver
rust
cargo
features
resolver
dependencies
Jun 21, 2026
Files in std::fs
rust
std
io
fs
files
Jun 21, 2026
Fn, FnMut, FnOnce
rust
closures
traits
callable
Jun 21, 2026
Format Specifiers
rust
std
fmt
formatting
specifiers
Jun 21, 2026
Format Strings and format!
rust
std
fmt
formatting
macros
Jun 21, 2026
Fully Qualified Syntax
rust
traits
syntax
disambiguation
Jun 21, 2026
Function Pointers
rust
functions
closures
fn
pointers
Jun 21, 2026
Function-like Macros
rust
macros
function-like-macros
procedural-macros
Jun 21, 2026
Functions
rust
functions
fn
parameters
Jun 21, 2026
Futures
rust
async
futures
Jun 21, 2026
Generic Associated Types
rust
traits
associated-types
gat
lifetimes
Jun 21, 2026
Generic Functions
rust
generics
functions
trait-bounds
syntax
Jun 21, 2026
Generics
rust
generics
types
abstraction
Jun 21, 2026
Global Allocators
rust
allocator
allocation
no-std
wasm
Jun 21, 2026
Hash and Eq Contracts
rust
std
traits
hash
eq
collections
Jun 21, 2026
HashMap Hashers and Key Invariants
rust
collections
hashmap
hashing
hashers
Jun 21, 2026
HashMap Method Families
rust
collections
hashmap
std
maps
Jun 21, 2026
HashMap
rust
collections
hashmap
map
Jun 21, 2026
HashSet
rust
collections
hashset
set
Jun 21, 2026
Higher-Ranked Trait Bounds
rust
lifetimes
hrtb
trait-bounds
type-system
Jun 21, 2026
IO Error Kinds
rust
std
io
errors
errorkind
Jun 21, 2026
IO Errors and io::Result
rust
std
io
errors
result
Jun 21, 2026
If Expressions
rust
if
control-flow
expressions
Jun 21, 2026
Ignored Tests
rust
testing
ignore
Jun 21, 2026
Index and IndexMut Traits
rust
std
traits
operators
index
indexing
Jun 21, 2026
Infallible Conversion Traits (std)
rust
std
traits
conversions
from
into
Jun 21, 2026
Integer Overflow
rust
integers
overflow
arithmetic
Jun 21, 2026
Integration Tests
rust
testing
integration-tests
Jun 21, 2026
Interior Mutability
rust
interior-mutability
borrowing
smart-pointers
Jun 21, 2026
Interrupts and Concurrency (Embedded)
rust
embedded
interrupts
concurrency
Jun 21, 2026
Intra-doc Links
rust
rustdoc
documentation
links
Jun 21, 2026
Iterator Adapters
rust
iterators
adapters
lazy
Jun 21, 2026
Iterator Conversion Traits IntoIterator and FromIterator
rust
std
traits
iterators
intoiterator
fromiterator
Jun 21, 2026
Iterator Method Trio
rust
iterators
map
filter
collect
Jun 21, 2026
Iterator Performance
rust
performance
iterators
zero-cost-abstractions
Jun 21, 2026
Iterator chain cycle and step_by
rust
iterator
adapter
chain
cycle
step-by
Jun 21, 2026
Iterator collect and FromIterator
rust
iterator
collect
fromiterator
collection
Jun 21, 2026
Iterator flat_map and flatten
rust
iterator
adapter
flatten
flat-map
Jun 21, 2026
Iterator fold and reduce
rust
iterator
fold
reduce
accumulator
Jun 21, 2026
Iterator map and filter
rust
iterator
adapter
map
filter
Jun 21, 2026
Iterator partition and unzip
rust
iterator
partition
unzip
collection
Jun 21, 2026
Iterator predicate search adapters
rust
iterator
search
any
all
find
position
Jun 21, 2026
Iterator rev and last
rust
iterator
rev
last
double-ended-iterator
Jun 21, 2026
Iterator scan and peekable
rust
iterator
adapter
scan
peekable
Jun 21, 2026
Iterator sum product and count
rust
iterator
sum
product
count
Jun 21, 2026
Iterator take skip and while bounds
rust
iterator
adapter
take
skip
Jun 21, 2026
Iterator zip and enumerate
rust
iterator
adapter
zip
enumerate
Jun 21, 2026
Iterators
rust
iterators
sequences
collections
Jun 21, 2026
Lazy Evaluation
rust
iterators
closures
lazy
Jun 21, 2026
Lifetime Elision
rust
lifetimes
elision
references
Jun 21, 2026
Lifetimes
rust
lifetimes
borrowing
references
Jun 21, 2026
LinkedList
rust
collections
linkedlist
sequence
Jun 21, 2026
Lints and Lint Levels
rust
lints
diagnostics
compiler
Jun 21, 2026
Loop Expressions
rust
loop
control-flow
break
Jun 21, 2026
MSRV Policy
rust
cargo
msrv
rust-version
Jun 21, 2026
Macro Diagnostics
rust
macros
diagnostics
compile-error
procedural-macros
Jun 21, 2026
Macro Fragment Specifiers
rust
macros
macro-rules
fragments
Jun 21, 2026
Macro Hygiene
rust
macros
hygiene
name-resolution
Jun 21, 2026
Macro Repetitions
rust
macros
macro-rules
repetitions
Jun 21, 2026
ManuallyDrop
rust
std
unsafe
memory
Jun 21, 2026
Marker Traits
rust
traits
marker-traits
type-system
Jun 21, 2026
Match Guards
rust
match
guards
patterns
Jun 21, 2026
MaybeUninit
rust
unsafe
memory
initialization
Jun 21, 2026
Memory-Mapped IO
rust
embedded
mmio
volatile
Jun 21, 2026
Methods
rust
structs
methods
impl
Jun 21, 2026
Miri
rust
unsafe
testing
miri
Jun 21, 2026
Module Paths
rust
paths
modules
name-resolution
Jun 21, 2026
Modules
rust
modules
scope
privacy
Jun 21, 2026
Move Semantics
rust
ownership
moves
memory
Jun 21, 2026
Mutable References
rust
ownership
borrowing
mutation
Jun 21, 2026
Name Resolution
rust
names
paths
modules
imports
Jun 21, 2026
Named Field Structs
rust
structs
data-modeling
Jun 21, 2026
Object-Oriented Rust
rust
oop
traits
polymorphism
Jun 21, 2026
OnceLock and LazyLock
rust
concurrency
once-lock
lazy-lock
initialization
statics
Jun 21, 2026
Operator Overloading
rust
traits
operators
std-ops
Jun 21, 2026
Option Combinators
rust
std
option
combinators
Jun 21, 2026
Option vs Result
rust
option
result
errors
Jun 21, 2026
Option
rust
option
enums
null-safety
Jun 21, 2026
Ordering Traits PartialOrd and Ord
rust
std
traits
ordering
partialord
ord
Jun 21, 2026
OsStr and OsString
rust
std
ffi
osstr
strings
paths
Jun 21, 2026
Ownership
rust
ownership
memory
core
Jun 21, 2026
Packages and Crates
rust
packages
crates
cargo
Jun 21, 2026
Panic Handlers
rust
panic
no-std
embedded
wasm
Jun 21, 2026
Panic Strategy Selection
rust
panic
no-std
wasm
abort
unwind
Jun 21, 2026
Panic Unwinding and Abort
rust
panic
unwind
abort
Jun 21, 2026
PartialEq
rust
equality
traits
derive
Jun 21, 2026
Path and PathBuf
rust
std
path
filesystem
osstr
Jun 21, 2026
Patterns
rust
patterns
pattern-matching
syntax
Jun 21, 2026
Peripheral Access Crates
rust
embedded
pac
peripherals
Jun 21, 2026
PhantomData
rust
phantomdata
marker-types
variance
unsafe
Jun 21, 2026
Pinning
rust
async
pin
unpin
Jun 21, 2026
Private Fields with Public Constructors
rust
structs
privacy
constructors
api-design
Jun 21, 2026
Procedural Macros
rust
macros
procedural-macros
metaprogramming
Jun 21, 2026
Profiles and Optimization Settings
rust
cargo
profiles
optimization
Jun 21, 2026
Profiling Rust Programs
rust
performance
profiling
optimization
Jun 21, 2026
Publishing to crates.io
rust
cargo
publishing
crates-io
Jun 21, 2026
Raw Pointers
rust
unsafe
pointers
memory
Jun 21, 2026
Rc
rust
rc
reference-counting
smart-pointers
Jun 21, 2026
Readable Generic APIs
rust
generics
api-design
traits
Jun 21, 2026
Recoverable vs Unrecoverable Errors
rust
errors
result
panic
Jun 21, 2026
RefCell
rust
refcell
interior-mutability
smart-pointers
Jun 21, 2026
Reference Cycles and Weak
rust
weak
rc
reference-cycles
smart-pointers
Jun 21, 2026
References
rust
ownership
references
borrowing
Jun 21, 2026
Refutable and Irrefutable Patterns
rust
patterns
refutability
let-else
Jun 21, 2026
Required Bounds on Generic Associated Types
rust
gat
associated-types
lifetimes
type-system
Jun 21, 2026
Result Combinators
rust
std
result
errors
combinators
Jun 21, 2026
Result
rust
result
errors
enum
Jun 21, 2026
Return-Position impl Trait in Traits
rust
traits
impl-trait
associated-types
type-system
Jun 21, 2026
Returning Closures
rust
closures
impl-trait
trait-objects
Jun 21, 2026
Rust Editions
rust
editions
compatibility
compiler
Jun 21, 2026
Rust WebAssembly Targets
rust
webassembly
wasm
targets
cross-compilation
Jun 21, 2026
RwLock
rust
concurrency
rwlock
locks
Jun 21, 2026
SIMD and target_feature
rust
performance
simd
target-feature
codegen
Jun 21, 2026
Scalar Types
rust
scalar-types
primitives
types
Jun 21, 2026
Scoped Threads
rust
concurrency
scoped-threads
threads
Jun 21, 2026
Seek and Cursor
rust
std
io
seek
cursor
Jun 21, 2026
Semantic Versioning
rust
cargo
semver
api
Jun 21, 2026
Send and Sync
rust
concurrency
send
sync
auto-traits
Jun 21, 2026
Set Collections with HashSet and BTreeSet
rust
collections
hashset
btreeset
sets
Jun 21, 2026
Shadowing
rust
shadowing
variables
scope
Jun 21, 2026
Shared State in Async
rust
async
shared-state
tokio
Jun 21, 2026
Shared State with Mutex
rust
concurrency
mutex
shared-state
Jun 21, 2026
Slicing and Range Indexing
rust
slices
ranges
indexing
borrowing
Jun 21, 2026
Soundness vs Safety
rust
unsafe
soundness
api
Jun 21, 2026
Splitting Modules into Files
rust
modules
files
project-structure
Jun 21, 2026
Statements vs Expressions
rust
expressions
statements
blocks
Jun 21, 2026
Static Items
rust
static
globals
interior-mutability
Jun 21, 2026
Static vs Dynamic Dispatch
rust
dispatch
generics
traits
Jun 21, 2026
Streams
rust
async
streams
Jun 21, 2026
String and str
rust
strings
utf8
str
Jun 21, 2026
String vs str Methods
rust
string
str
utf8
methods
Jun 21, 2026
Supertraits
rust
traits
supertraits
bounds
Jun 21, 2026
Target Features and CPU Baselines
rust
target-features
codegen
wasm
cpu
Jun 21, 2026
Target Triples
rust
targets
cross-compilation
compiler
Jun 21, 2026
Tasks and spawn
rust
async
tokio
tasks
Jun 21, 2026
Test Functions
rust
testing
test-attribute
Jun 21, 2026
Test Harness and cargo test
rust
testing
cargo
Jun 21, 2026
The 'static Lifetime
rust
lifetimes
static
references
Jun 21, 2026
The Debug Trait
rust
debug
formatting
traits
Jun 21, 2026
The Default Trait
rust
std
traits
default
derive
Jun 21, 2026
The Display Trait
rust
display
formatting
traits
Jun 21, 2026
The Drop Trait
rust
ownership
drop
destructors
Jun 21, 2026
The Error Trait
rust
error-trait
std
interoperability
Jun 21, 2026
The Guessing Game Tutorial
rust
tutorial
cargo
beginner
Jun 21, 2026
The Iterator Trait
rust
iterators
traits
associated-types
Jun 21, 2026
The Never Type
rust
types
never
control-flow
Jun 21, 2026
The Question Mark Operator
rust
result
option
question-mark
Jun 21, 2026
The Read and Write Traits
rust
std
io
traits
read
write
Jun 21, 2026
The Slice Type
rust
ownership
slices
borrowing
Jun 21, 2026
The Stack and the Heap
rust
ownership
memory
heap
Jun 21, 2026
The Tokio Runtime
rust
async
tokio
runtime
Jun 21, 2026
The inline Attribute
rust
performance
attributes
codegen
Jun 21, 2026
The match Expression
rust
match
pattern-matching
control-flow
Jun 21, 2026
The rustc Compiler
rust
rustc
compiler
cli
Jun 21, 2026
The use Keyword
rust
use
imports
paths
Jun 21, 2026
Threads
rust
concurrency
threads
Jun 21, 2026
Trait Bounds
rust
traits
bounds
generics
Jun 21, 2026
Trait Coherence and Covered Implementations
rust
traits
coherence
orphan-rule
type-system
Jun 21, 2026
Trait Objects
rust
traits
trait-objects
dyn
Jun 21, 2026
Traits
rust
traits
interfaces
polymorphism
Jun 21, 2026
Transpose and Flatten
rust
std
option
result
transpose
flatten
combinators
Jun 21, 2026
Tuple Structs
rust
structs
tuple-structs
newtypes
Jun 21, 2026
Tuples
rust
tuples
compound-types
unit
Jun 21, 2026
Type Aliases
rust
types
aliases
abstraction
Jun 21, 2026
Type Inference
rust
type-inference
types
annotations
Jun 21, 2026
Type Layout and repr
rust
repr
layout
ffi
unsafe
Jun 21, 2026
Type layout
rust
layout
memory
repr
unsafe
Jun 21, 2026
Undefined Behavior
rust
unsafe
ub
memory
Jun 21, 2026
Unions
rust
unsafe
union
ffi
layout
Jun 21, 2026
Unit Tests
rust
testing
unit-tests
Jun 21, 2026
Unit-Like Structs
rust
structs
unit-like
zero-sized-types
Jun 21, 2026
Unsafe Rust
rust
unsafe
memory
ffi
Jun 21, 2026
UnsafeCell
rust
unsafecell
interior-mutability
unsafe
Jun 21, 2026
Using alloc without std
rust
no-std
alloc
allocator
heap
Jun 21, 2026
Variables and Mutability
rust
variables
mutability
bindings
Jun 21, 2026
Variance
rust
variance
lifetimes
subtyping
type-system
Jun 21, 2026
Vec Capacity and Growth
rust
vec
allocation
capacity
performance
Jun 21, 2026
Vec Methods Reference
rust
vec
std
collections
methods
Jun 21, 2026
Vec
rust
collections
vec
sequence
Jun 21, 2026
VecDeque Ring Buffers
rust
collections
vecdeque
queues
sequences
Jun 21, 2026
VecDeque
rust
collections
vecdeque
queue
Jun 21, 2026
Visibility and Privacy
rust
visibility
privacy
pub
Jun 21, 2026
Where Clauses
rust
generics
bounds
where-clauses
Jun 21, 2026
While and For Loops
rust
while
for
loops
iterators
Jun 21, 2026
Zero-Cost Abstractions
rust
performance
iterators
abstractions
Jun 21, 2026
Zero-Sized Types
rust
zst
layout
marker-types
type-system
Jun 21, 2026
alloc Collections in no_std
rust
alloc
collections
no-std
wasm
Jun 21, 2026
async and await
rust
async
await
Jun 21, 2026
crates.io and Dependencies Intro
rust
cargo
dependencies
crates-io
Jun 21, 2026
dyn Compatibility (Object Safety)
rust
traits
dyn
object-safety
Jun 21, 2026
macro_rules!
rust
macros
macro-rules
declarative-macros
Jun 21, 2026
move Closures
rust
closures
move
ownership
Jun 21, 2026
no_std Crate Design
rust
no-std
core
embedded
portability
Jun 21, 2026
no_std
rust
embedded
no-std
core
Jun 21, 2026
panic!
rust
panic
errors
invariants
Jun 21, 2026
rustdoc
rust
documentation
rustdoc
Jun 21, 2026
rustfmt and Clippy
rust
rustfmt
clippy
tooling
lints
Jun 21, 2026
rustup and Installation
rust
rustup
installation
tooling
Jun 21, 2026
select!
rust
async
tokio
select
Jun 21, 2026
syn and quote
rust
macros
procedural-macros
syn
quote
Jun 21, 2026
thread_local!
rust
concurrency
thread-local
tls
interior-mutability
Jun 21, 2026
unsafe extern Blocks
rust
ffi
extern
unsafe
Jun 21, 2026
unsafe fn
rust
unsafe
api
contracts
Jun 21, 2026
wasm-bindgen Basics
rust
webassembly
wasm
wasm-bindgen
javascript
Jun 21, 2026
Advanced Type System
rust
moc
advanced-type-system
type-system
Jun 21, 2026
Advanced Types & Features
rust
moc
advanced-types
traits
closures
Jun 21, 2026
Anti-patterns & Footguns
rust
moc
antipatterns
footguns
Jun 21, 2026
Async Rust
rust
async
moc
Jun 21, 2026
Basic Concepts & Syntax
rust
moc
basic-concepts
syntax
Jun 21, 2026
Cargo & Dependencies
rust
cargo
dependencies
moc
Jun 21, 2026
Closures & Iterators
rust
closures
iterators
moc
Jun 21, 2026
Collections & Strings
rust
collections
strings
moc
Jun 21, 2026
Concurrency
rust
concurrency
moc
Jun 21, 2026
Ecosystem & Crate Playbooks
rust
ecosystem
crates
moc
Jun 21, 2026
Editions & Compiler
rust
editions
compiler
moc
Jun 21, 2026
Embedded Rust
rust
embedded
moc
Jun 21, 2026
Enums & Pattern Matching
rust
moc
enums
pattern-matching
Jun 21, 2026
Error Handling
rust
errors
moc
Jun 21, 2026
Generics, Traits & Lifetimes
rust
moc
generics
traits
lifetimes
Jun 21, 2026
Idioms & API Design
rust
moc
idioms
api-design
Jun 21, 2026
Macros
rust
macros
moc
Jun 21, 2026
Modules & Project Structure
rust
modules
project-structure
moc
Jun 21, 2026
OOP & Trait Objects
rust
moc
oop
trait-objects
Jun 21, 2026
Ownership & Memory
rust
ownership
memory
moc
Jun 21, 2026
Performance & Optimization
rust
performance
optimization
moc
Jun 21, 2026
Smart Pointers & Interior Mutability
rust
moc
smart-pointers
interior-mutability
Jun 21, 2026
Structs
rust
structs
moc
Jun 21, 2026
Testing & Documentation
rust
testing
documentation
moc
Jun 21, 2026
Tooling & Getting Started
rust
tooling
getting-started
moc
Jun 21, 2026
Unsafe Rust & FFI
rust
unsafe
ffi
moc
Jun 21, 2026
WebAssembly, no_std & Targets
rust
moc
webassembly
no-std
targets
Jun 21, 2026
std IO & Formatting
rust
std
io
formatting
moc
Jun 21, 2026
std: Collections Deep
rust
collections
std
moc
Jun 21, 2026
std: Core Trait Catalog
rust
std
traits
moc
Jun 21, 2026
std: Iterator Adapter Catalog
rust
std
iterator
moc
Jun 21, 2026
std: Option & Result Combinators
rust
std
option
result
combinators
moc
Jun 21, 2026
std: Vec, String & Slices
rust
std
vec
string
slices
moc
Jun 21, 2026
overview
rust
overview
meta
Jun 21, 2026
Accepting impl Trait vs Generics
rust
impl-trait
generics
api-design
Jun 21, 2026
Adding Error Context
rust
errors
context
diagnostics
Jun 21, 2026
Allocator Choices
rust
performance
allocation
allocator
Jun 21, 2026
Application Errors with anyhow
rust
anyhow
errors
applications
Jun 21, 2026
Arc Mutex Shared State
rust
concurrency
arc
mutex
shared-state
Jun 21, 2026
Arena Allocation
rust
performance
allocation
arenas
Jun 21, 2026
AsRef for Flexible Arguments
rust
asref
borrowing
api-design
Jun 21, 2026
Async Message Passing
rust
async
channels
tokio
Jun 21, 2026
Async Timeouts
rust
async
tokio
timeout
cancellation
Jun 21, 2026
Axum Web Service Playbook
rust
axum
web
http
ecosystem
Jun 21, 2026
Benchmarking with Criterion
rust
performance
benchmarking
criterion
Jun 21, 2026
Borrow for Equivalent Keys
rust
borrow
hashmap
api-design
Jun 21, 2026
Borrowed Parameter APIs
rust
ownership
api-design
borrowing
Jun 21, 2026
Borrowing Strings and Slices
rust
borrowing
strings
slices
Jun 21, 2026
Bounds-Check Elimination
rust
performance
bounds-checks
slices
Jun 21, 2026
Boxed Closure Returns
rust
pattern
closures
trait-objects
Jun 21, 2026
Boxing Errors
rust
errors
boxed-error
trait-objects
Jun 21, 2026
Builder Pattern
rust
builder
constructors
api-design
Jun 21, 2026
Building Strings Efficiently
rust
string
allocation
formatting
performance
Jun 21, 2026
Cache-Friendly Data Layout
rust
performance
cache
layout
memory
Jun 21, 2026
Cancellation-Safe IO
rust
async
tokio
io
cancellation
Jun 21, 2026
Cargo Cross-Compilation Setup
rust
cargo
cross-compilation
targets
tooling
Jun 21, 2026
Catch-All and Wildcard Patterns
rust
patterns
wildcard
match
Jun 21, 2026
Chaining with and_then
rust
std
option
result
and_then
combinators
Jun 21, 2026
Choosing Collection Types
rust
collections
design
data-structures
Jun 21, 2026
Choosing Standard Collections
rust
collections
std
api-design
performance
Jun 21, 2026
Command-Line Parsing
rust
cli
arguments
clap
ecosystem
Jun 21, 2026
Composition over Inheritance
rust
oop
composition
api-design
Jun 21, 2026
Configuration Loading
rust
configuration
config
figment
serde
ecosystem
Jun 21, 2026
Constructor Naming
rust
constructors
naming
api-design
Jun 21, 2026
Conversion Method Prefixes
rust
naming
conversions
api-design
Jun 21, 2026
Converting Option to Result with ok_or
rust
std
option
result
errors
combinators
Jun 21, 2026
Critical Sections in Embedded Rust
rust
embedded
interrupts
synchronization
Jun 21, 2026
Deadlock Avoidance
rust
concurrency
deadlock
locks
Jun 21, 2026
Debugging
rust
debugging
diagnostics
backtrace
ecosystem
Jun 21, 2026
Defaulting with unwrap_or Variants
rust
std
option
result
defaults
combinators
Jun 21, 2026
Deriving Traits on Structs
rust
structs
derive
traits
debug
Jun 21, 2026
Documentation Comments
rust
rustdoc
documentation
comments
Jun 21, 2026
Enforcing Expected cfgs
rust
cfg
lints
check-cfg
Jun 21, 2026
Entry API for Accumulator Maps
rust
collections
entry-api
hashmap
btreemap
Jun 21, 2026
Error Handling with thiserror
rust
thiserror
errors
libraries
Jun 21, 2026
Exporting macro_rules Macros
rust
macros
macro-rules
exports
Jun 21, 2026
FFI Wrapper Types
rust
ffi
unsafe
pattern
Jun 21, 2026
Fallback Chains with or_else
rust
std
option
result
fallback
combinators
Jun 21, 2026
Field Init Shorthand
rust
structs
initialization
idiom
Jun 21, 2026
Filtering Vecs with dedup retain and drain
rust
vec
filtering
drain
dedup
Jun 21, 2026
Flamegraph and perf Workflow
rust
performance
profiling
perf
flamegraph
Jun 21, 2026
From and Into
rust
from
into
conversions
api-design
Jun 21, 2026
Heapless Collections in Embedded Rust
rust
embedded
no-std
collections
Jun 21, 2026
Implementing Display by Hand
rust
std
fmt
display
traits
Jun 21, 2026
Inspecting rustc Configuration
rust
rustc
diagnostics
targets
Jun 21, 2026
Iterating Collections
rust
collections
iterators
loops
Jun 21, 2026
Itertools Iterator Helpers Playbook
rust
itertools
iterators
collections
ecosystem
Jun 21, 2026
Keep Application Logic Testable
rust
testing
cli
cargo
design
Jun 21, 2026
LTO and codegen-units
rust
performance
cargo
lto
codegen
Jun 21, 2026
Lending Iterators with GATs
rust
gat
iterators
lifetimes
pattern
Jun 21, 2026
Library and Binary Package Layout
rust
binary-crate
library-crate
package-layout
Jun 21, 2026
LocalSet and Non-Send Futures
rust
async
tokio
send
localset
Jun 21, 2026
Locking Stdin and Stdout
rust
std
io
stdin
stdout
locking
cli
Jun 21, 2026
Making Invalid States Unrepresentable
rust
invariants
types
api-design
Jun 21, 2026
Mapping Present Values with map
rust
std
option
result
map
combinators
Jun 21, 2026
Migrating Editions
rust
editions
migration
cargo-fix
Jun 21, 2026
Minimizing Dependencies
rust
cargo
dependencies
supply-chain
Jun 21, 2026
Move Closures with Threads
rust
concurrency
threads
closures
Jun 21, 2026
Mutex Poisoning and Recovery
rust
concurrency
mutex
poisoning
recovery
panic
Jun 21, 2026
Naming Conventions (Rust API Guidelines)
rust
naming
api-guidelines
api-design
Jun 21, 2026
Newtype Pattern
rust
pattern
newtype
traits
Jun 21, 2026
Phantom Type Parameters
rust
phantom-types
marker-types
typestate
pattern
Jun 21, 2026
Pin projection
rust
unsafe
pin
projection
async
Jun 21, 2026
Predicate Checks with is_some_and and matches
rust
std
option
result
predicates
matches
combinators
Jun 21, 2026
Prefer Iterator Pipelines to Manual Indexing
rust
iterators
performance
idiom
Jun 21, 2026
Procedural Macro Crate Structure
rust
macros
procedural-macros
cargo
crate-structure
Jun 21, 2026
Propagating Errors
rust
errors
propagation
result
Jun 21, 2026
Question Mark with Option
rust
std
option
question-mark
combinators
Jun 21, 2026
Rayon Data Parallelism Playbook
rust
rayon
parallelism
performance
ecosystem
Jun 21, 2026
Re-exporting with pub use
rust
pub-use
re-export
api-design
Jun 21, 2026
Reading Standard Input
rust
std
io
stdin
cli
Jun 21, 2026
Reducing Heap Allocations
rust
performance
allocation
collections
Jun 21, 2026
Regex Text Matching Playbook
rust
regex
text
parsing
ecosystem
Jun 21, 2026
Reqwest HTTP Client Playbook
rust
reqwest
http
async
ecosystem
Jun 21, 2026
Result Returning Tests
rust
testing
result
Jun 21, 2026
Result Type Aliases
rust
pattern
result
aliases
errors
Jun 21, 2026
Return Iterators Instead of Collecting
rust
iterators
api-design
lazy
Jun 21, 2026
Returning Result from main
rust
main
result
cli
Jun 21, 2026
SAFETY Comments
rust
unsafe
documentation
pattern
Jun 21, 2026
Safe Abstractions over Unsafe Code
rust
unsafe
api
pattern
Jun 21, 2026
Scoping Non-Send Values Before Await
rust
async
send
tokio
Jun 21, 2026
Sealed Traits
rust
traits
sealed-traits
api-design
Jun 21, 2026
Serde Data Format Playbook
rust
serde
serialization
json
ecosystem
Jun 21, 2026
SmallVec for Inline Storage
rust
performance
allocation
smallvec
Jun 21, 2026
Snapshot Testing
rust
testing
snapshots
regression
Jun 21, 2026
Sorting and Binary Search on Slices
rust
slices
sorting
search
ordering
Jun 21, 2026
Splitting Strings Without Collecting
rust
string
str
iterators
parsing
Jun 21, 2026
Start Projects with cargo new
rust
cargo
project-structure
getting-started
Jun 21, 2026
Static Dispatch with Generics
rust
generics
traits
dispatch
Jun 21, 2026
Struct Update Syntax
rust
structs
initialization
update-syntax
Jun 21, 2026
Structured Task Sets with JoinSet
rust
async
tokio
tasks
Jun 21, 2026
Target-Specific cfg Boundaries
rust
cfg
targets
portability
conditional-compilation
Jun 21, 2026
Test Organization
rust
testing
organization
Jun 21, 2026
Test-Driven Development in Rust
rust
testing
tdd
Jun 21, 2026
Testable Documentation Examples
rust
documentation
doctest
examples
Jun 21, 2026
Testing Macros with trybuild
rust
macros
testing
trybuild
diagnostics
Jun 21, 2026
The Entry API
rust
collections
hashmap
entry
Jun 21, 2026
The State Pattern
rust
oop
state-pattern
trait-objects
Jun 21, 2026
Tokio Runtime Playbook
rust
tokio
async
runtime
ecosystem
Jun 21, 2026
Tracing and Structured Logging Playbook
rust
tracing
logging
observability
ecosystem
Jun 21, 2026
TryFrom and TryInto
rust
tryfrom
tryinto
conversions
api-design
Jun 21, 2026
Type-State Pattern
rust
typestate
generics
api-design
Jun 21, 2026
Type-State State Machines
rust
typestate
state-machines
oop
Jun 21, 2026
Use a Newtype to Implement Foreign Traits
rust
traits
newtype
orphan-rule
Jun 21, 2026
Use cargo check While Editing
rust
cargo
feedback-loop
tooling
Jun 21, 2026
Using chunks windows and split_at
rust
slices
chunks
windows
split_at
Jun 21, 2026
Weak Back References
rust
weak
rc
pattern
smart-pointers
Jun 21, 2026
Workspace Dependency Inheritance
rust
cargo
workspace
dependencies
manifests
Jun 21, 2026
Workspace Project Structure
rust
workspaces
project-structure
cargo
Jun 21, 2026
Writing Standard Output
rust
std
io
stdout
formatting
cli
Jun 21, 2026
cargo publish, yank and owners
rust
cargo
publishing
crates-io
release
Jun 21, 2026
cargo-audit and cargo-deny
rust
cargo
security
supply-chain
Jun 21, 2026
clap Command Line Playbook
rust
clap
cli
arguments
ecosystem
Jun 21, 2026
if let
rust
if-let
patterns
option
Jun 21, 2026
let else
rust
let-else
patterns
early-return
Jun 21, 2026
spawn_blocking
rust
async
tokio
blocking
Jun 21, 2026
try_reserve and Fallible Allocation
rust
collections
allocation
errors
Jun 21, 2026
01-idiomatic-api-design
rust
source
research
Jun 21, 2026
02-ownership-borrowing-lifetimes
rust
source
research
Jun 21, 2026
03-error-handling
rust
source
research
Jun 21, 2026
04-async-rust
rust
source
research
Jun 21, 2026
05-anti-patterns-footguns
rust
source
research
Jun 21, 2026
06-unsafe-and-ffi
rust
source
research
Jun 21, 2026
07-performance-optimization
rust
source
research
Jun 21, 2026
08-concurrency
rust
source
research
Jun 21, 2026
09-tooling-project-hygiene
rust
source
research
Jun 21, 2026
10-dependency-supply-chain-security
rust
source
research
Jun 21, 2026
anti-patterns-footguns
rust
source
research
Jun 21, 2026
anyhow
rust
source
reference
Jun 21, 2026
api-guidelines
rust
source
reference
Jun 21, 2026
cargo-book
rust
source
book
Jun 21, 2026
command-line-book
rust
source
book
Jun 21, 2026
criterion
rust
source
reference
Jun 21, 2026
dependency-supply-chain-security
rust
source
research
Jun 21, 2026
edition-guide
rust
source
book
Jun 21, 2026
embedded-book
rust
source
book
Jun 21, 2026
idiomatic-api-design
rust
source
research
Jun 21, 2026
insta
rust
source
crate
testing
Jun 21, 2026
ownership-borrowing-lifetimes
rust
source
research
Jun 21, 2026
performance-optimization
rust
source
research
Jun 21, 2026
research-pack-rust
rust
source
research
citations
Jun 21, 2026
rust-by-example
rust
source
book
Jun 21, 2026
rust-performance-book
rust
source
performance
Jun 21, 2026
rustc-book
rust
source
book
Jun 21, 2026
rustdoc-book
rust
source
book
Jun 21, 2026
rustlings
rust
source
practice
Jun 21, 2026
rustonomicon
rust
source
book
Jun 21, 2026
serde
rust
source
reference
Jun 21, 2026
std
rust
source
reference
Jun 21, 2026
the-book
rust
source
book
Jun 21, 2026
the-reference
rust
source
book
Jun 21, 2026
thiserror
rust
source
reference
Jun 21, 2026
tokio
rust
source
reference
Jun 21, 2026
tooling-project-hygiene
rust
source
research