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: about 1 month ago - Pushed at: 6 months ago - Stars: 114 - Forks: 9
jmg-duarte/sealed-rs
Macro for sealing traits and structures
Language: Rust - Size: 199 KB - Last synced at: about 2 months ago - Pushed at: 12 months ago - Stars: 59 - Forks: 6
libsugar/tuplers
Provides many useful tools related to tuples
Language: Rust - Size: 341 KB - Last synced at: about 2 months ago - Pushed at: 6 months ago - Stars: 57 - Forks: 5
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: about 2 months ago - Pushed at: almost 2 years ago - Stars: 51 - Forks: 2
fujiapple852/bounded-static
A Rust crate that defines the ToBoundedStatic and IntoBoundedStatic traits
Language: Rust - Size: 99.6 KB - Last synced at: 25 days ago - Pushed at: 5 months ago - Stars: 20 - Forks: 4
dawn_app/enum_delegate
Easily replace dynamic dispatch with an enum, for speed and serialization
Last synced at: 25 days ago - Stars: 12 - Forks: 4
opensound-org/est
Extensions for the rust Standard library and Tokio.
Language: Rust - Size: 103 KB - Last synced at: 28 days ago - Pushed at: 3 months ago - Stars: 9 - 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: 7 months ago - Pushed at: 8 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: 97.7 KB - Last synced at: 9 days ago - Pushed at: 3 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: about 1 month ago - Pushed at: over 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: about 2 months ago - Pushed at: about 2 years 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: 3 months ago - Pushed at: about 4 years ago - Stars: 4 - Forks: 0
danylaporte/extobj
A tiny, zero-cost library that lets you extend a struct with new fields across crate boundaries without recompiling upstream crates.
Language: Rust - Size: 73.2 KB - Last synced at: 15 days ago - Pushed at: 15 days ago - Stars: 1 - Forks: 0
KSXGitHub/text-block-macros
Create a multiline string literal
Language: Rust - Size: 46.9 KB - Last synced at: 22 days ago - Pushed at: about 2 months ago - Stars: 1 - Forks: 1
yogithesymbian/yo_netwatch
Rust Networking Simple
Language: Rust - Size: 1.3 MB - Last synced at: 2 months ago - Pushed at: 3 months ago - Stars: 1 - Forks: 1
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: about 1 month ago - Pushed at: 8 months ago - Stars: 1 - Forks: 2
lbfalvy/bound
encapsulate the act of deriving a struct from a reference
Language: Rust - Size: 18.6 KB - Last synced at: 28 days ago - Pushed at: 9 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: 7 months ago - Pushed at: 12 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: 24 days ago - Pushed at: about 1 year ago - Stars: 1 - Forks: 0
toucan-games/ref_kind
Different reference kinds in Rust
Language: Rust - Size: 49.8 KB - Last synced at: about 2 months ago - Pushed at: over 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: 26 days ago - Pushed at: over 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: over 1 year ago - Pushed at: over 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: 26 days ago - Pushed at: about 4 years ago - Stars: 1 - Forks: 0
boltlabs-inc/vesta
Extensible pattern matching in Rust
Language: Rust - Size: 50.8 KB - Last synced at: 29 days ago - Pushed at: over 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: 29 days ago - Stars: 1 - Forks: 1
Smertan/plugin-manager-template
A flexible and easy-to-use plugin management system for Rust applications.
Language: Rust - Size: 101 KB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 0 - Forks: 0
LuisFerLCC/error-stack-macros2
Community-made procedural macros for error-stack.
Language: Rust - Size: 161 KB - Last synced at: 13 days ago - Pushed at: 13 days ago - Stars: 0 - Forks: 0
Noam2Stein/repetitive
Rust macro crate for generating repetitive code
Language: Rust - Size: 174 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0
komar007/option_either_or
Option into Either conversion
Language: Rust - Size: 13.7 KB - Last synced at: about 2 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0
Reuse-Intelligently-Ai/yo_netwatch
Rust Networking Simple
Language: Rust - Size: 1.25 MB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0
KSXGitHub/assert-cmp
Convenient assertion macros that print the failed expressions and their evaluated values
Language: Rust - Size: 20.5 KB - Last synced at: 25 days ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0
komar007/controlflow_inspect
inspect_break and inspect_continue for ControlFlow
Language: Rust - Size: 7.81 KB - Last synced at: about 1 month ago - Pushed at: 11 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: 11 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: about 1 month ago - Pushed at: 11 months ago - Stars: 0 - Forks: 1
tuguzT/provide
Truly zero cost dependency injection
Language: Rust - Size: 76.2 KB - Last synced at: about 2 months ago - Pushed at: about 1 year 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: about 1 month ago - Pushed at: over 1 year 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: 3 months ago - Pushed at: about 2 years 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: about 2 months ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0
axionbuster/validus
Validated string slices
Language: Rust - Size: 98.6 KB - Last synced at: 2 months ago - Pushed at: over 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: 9 months ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0