Topic: "rust-patterns"
alecmocatta/replace_with
Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.
Language: Rust - Size: 60.5 KB - Last synced at: 15 days ago - Pushed at: 20 days ago - Stars: 109 - Forks: 9

jmg-duarte/sealed-rs
Macro for sealing traits and structures
Language: Rust - Size: 199 KB - Last synced at: 17 days ago - Pushed at: 6 months ago - Stars: 54 - Forks: 6

joelonsql/wherr
Enhance Rust errors with file and line details using the `#[wherr]` macro for clearer debugging.
Language: Rust - Size: 51.8 KB - Last synced at: 29 days ago - Pushed at: over 1 year ago - Stars: 50 - Forks: 2

libsugar/tuplers
Provides many useful tools related to tuples
Language: Rust - Size: 341 KB - Last synced at: about 1 hour ago - Pushed at: about 1 month ago - Stars: 18 - Forks: 3

fujiapple852/bounded-static
A Rust crate that defines the ToBoundedStatic and IntoBoundedStatic traits
Language: Rust - Size: 98.6 KB - Last synced at: 7 days ago - Pushed at: 3 months ago - Stars: 18 - Forks: 4

dawn_app/enum_delegate
Easily replace dynamic dispatch with an enum, for speed and serialization
Last synced at: about 1 month ago - Stars: 12 - Forks: 4

opensound-org/est
Extensions for the rust Standard library and Tokio.
Language: Rust - Size: 125 KB - Last synced at: 15 days ago - Pushed at: 15 days ago - Stars: 7 - Forks: 0

bengreenier/partially
Rust crate that provides the Partial trait, and an optional macro to mirror a struct, wrapping each field in an Option.
Language: Rust - Size: 49.8 KB - Last synced at: about 2 months ago - Pushed at: 2 months ago - Stars: 6 - Forks: 2

al8n/among
The enum Among with variants Left, Middle and Right is a general purpose sum type with three cases.
Language: Rust - Size: 91.8 KB - Last synced at: 3 days ago - Pushed at: 8 months ago - Stars: 5 - Forks: 2

eopb/shadow-clone
A macro to clone variables into the current scope shadowing old ones.
Language: Rust - Size: 14.6 KB - Last synced at: 6 days ago - Pushed at: about 5 years ago - Stars: 5 - Forks: 0

qnighy/option-cell
OptionCell: OnceCell but derivable from Option
Language: Rust - Size: 4.88 KB - Last synced at: 29 days ago - Pushed at: over 1 year ago - Stars: 4 - Forks: 0

just-do-halee/utils-results
The easiest and most intuitive error handling solution.
Language: Rust - Size: 72.3 KB - Last synced at: 4 days ago - Pushed at: over 3 years ago - Stars: 4 - Forks: 0

ink-feather-org/trait-cast-rs
Get your own Any with support for casting to trait objects.
Language: Rust - Size: 150 KB - Last synced at: 7 days ago - Pushed at: 3 months ago - Stars: 1 - Forks: 2

KSXGitHub/text-block-macros
Create a multiline string literal
Language: Rust - Size: 40 KB - Last synced at: 2 months ago - Pushed at: 3 months ago - Stars: 1 - Forks: 1

lbfalvy/bound
encapsulate the act of deriving a struct from a reference
Language: Rust - Size: 18.6 KB - Last synced at: 10 days ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

ardaku/traitful
A collection of helper attribute macros for trait patterns
Language: Rust - Size: 61.5 KB - Last synced at: about 2 months ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

DenisGorbachev/not-found-error
Convert Option to Result using convenient functions
Language: Rust - Size: 46.9 KB - Last synced at: 11 days ago - Pushed at: 9 months ago - Stars: 1 - Forks: 0

toucan-games/ref_kind
Different reference kinds in Rust
Language: Rust - Size: 49.8 KB - Last synced at: 29 days ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

enlightware/typemap-meta
A simple compile-time derive macro to create type-to-value maps in the Rust programming language
Language: Rust - Size: 23.4 KB - Last synced at: 23 days ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 2

KSXGitHub/tap-trait
Inspect and mutate values without leaving the method chain
Language: Rust - Size: 12.7 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0

pleshevskiy/ood_persistence 📦
asynchronous and synchronous interfaces and persistence implementations for your OOD architecture
Language: Rust - Size: 104 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0

boltlabs-inc/vesta
Extensible pattern matching in Rust
Language: Rust - Size: 50.8 KB - Last synced at: 6 days ago - Pushed at: about 4 years ago - Stars: 1 - Forks: 0

eopb/shadow-clone
A macro to clone variables into the current scope shadowing old ones.
Last synced at: about 1 month ago - Stars: 1 - Forks: 1
komar007/controlflow_inspect
inspect_break and inspect_continue for ControlFlow
Language: Rust - Size: 7.81 KB - Last synced at: 26 days ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0

komar007/option_into_controlflow
Option into ControlFlow conversion
Language: Rust - Size: 19.5 KB - Last synced at: about 1 month ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0

ink-feather-org/const-std-sort-rs
Sort slices in const items.
Language: Rust - Size: 105 KB - Last synced at: 7 days ago - Pushed at: 6 months ago - Stars: 0 - Forks: 1

tuguzT/provide
Truly zero cost dependency injection
Language: Rust - Size: 76.2 KB - Last synced at: 28 days ago - Pushed at: 9 months ago - Stars: 0 - Forks: 0

yumemi-inc/and_then_map_err 📦
Provides traits for chaining Result operations with different error types WITHOUT the need for intermediate map_err calls.
Language: Rust - Size: 3.91 KB - Last synced at: 7 days ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0

zeozeozeo/rwtypes
Adds methods to read/write binary numbers to the Read and Write traits.
Language: Rust - Size: 1.95 KB - Last synced at: 4 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

zeozeozeo/type-handle
Regular and reference-counted type handles for Rust
Language: Rust - Size: 4.88 KB - Last synced at: 26 days ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

axionbuster/validus
Validated string slices
Language: Rust - Size: 98.6 KB - Last synced at: 30 days ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

KSXGitHub/assert-cmp
Convenient assertion macros that print the failed expressions and their evaluated values
Language: Rust - Size: 19.5 KB - Last synced at: 8 days ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

zhuravlevma/accounting_system
This is a simple application for training patterns. The app cans calculate sum for product, warehouse, shop with Composite pattern. Also, you can create your providers. For them, you can create responsible people who will say you very useful information. It was created using a pattern Fabric. Write your results with "writer" who was created using a pattern Decorator.
Language: Rust - Size: 15.6 KB - Last synced at: 3 months ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0
