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

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

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

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

DenisGorbachev/not-found-error
Convert Option to Result using convenient functions
Language: Rust - Size: 46.9 KB - Last synced at: 18 days ago - Pushed at: 8 months ago - Stars: 1 - 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: 5 days ago - Pushed at: about 2 months ago - Stars: 1 - Forks: 2

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

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: 6 days ago - Pushed at: 7 months ago - Stars: 5 - Forks: 2

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

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: 54.7 KB - Last synced at: about 11 hours ago - Pushed at: almost 3 years ago - Stars: 109 - Forks: 9

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: 1 day ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 2

komar007/controlflow_inspect
inspect_break and inspect_continue for ControlFlow
Language: Rust - Size: 7.81 KB - Last synced at: 4 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: 13 days ago - Pushed at: 5 months ago - Stars: 0 - 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 1 month ago - Pushed at: about 2 months ago - Stars: 6 - Forks: 2

axionbuster/validus
Validated string slices
Language: Rust - Size: 98.6 KB - Last synced at: 8 days ago - Pushed at: almost 2 years 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: 5 days ago - Pushed at: 5 months ago - Stars: 0 - Forks: 1

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

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: 7 days ago - Pushed at: over 1 year ago - Stars: 50 - Forks: 2

tuguzT/provide
Truly zero cost dependency injection
Language: Rust - Size: 76.2 KB - Last synced at: 6 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: 5 days ago - Pushed at: 9 months ago - Stars: 0 - Forks: 0

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

toucan-games/ref_kind
Different reference kinds in Rust
Language: Rust - Size: 49.8 KB - Last synced at: 8 days ago - Pushed at: almost 2 years ago - Stars: 1 - 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: 14 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: 4 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

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

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

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

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

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: 2 months ago - Pushed at: over 3 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: 18 days ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

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