rustio rustio.net

Rust Patterns

0

closet

Experimental

CLOSure-Enhancing Toolbox (CLOSET) provides some questionably-useful macro utilities for closures, including clone_army!, which reduces boilerplate for clone-capturing closures, and vindaloo!, which does automatic currying.

0 downloads · 9y ago
0

named-block

Experimental

Macro implementing early-exit-from-any-block

0 downloads · 9y ago
0

unborrow

Experimental

Macro for calling a &mut self method with transient &-borrows of self in the parameters

0 downloads · 9y ago
0

pin-init

Experimental

Safe pinned-initialization in Rust

0 downloads · 4y ago
0

docima

Experimental

Generate images at build time & embed them in the Rust documentation

0 downloads · 5y ago
0

dyn-cache

Experimental

Query cache indexed by type.

0 downloads · 5y ago
0

trace-error

Experimental

Extensions to Rust's error system to automatically include backtraces

0 downloads · 9y ago
0

errloc_macros

Experimental

Error location utility macros

0 downloads · 9y ago
0

unchecked-index

Experimental

Unchecked indexing wrapper using regular index syntax.

0 downloads · 8y ago
0

bencher

Experimental

A port of the libtest (unstable Rust) benchmark runner to Rust stable releases. Supports running benchmarks and filtering based on the name. Benchmark execution works exactly the same way and no more (caveat: black_box is still missing!).

0 downloads · 8y ago
0

py-comp

Experimental

A macro implementing a Python-like generator expression

0 downloads · 7y ago
0

fast_fmt

Experimental

This crate provides faster, more flexible and more correct alternative to core::fmt

0 downloads · 9y ago
0

eager

Experimental

Crate for eager macro expansion.

0 downloads · 8y ago
0

dyn-eq

Experimental

Test equality between trait objects

0 downloads · 3y ago
0

build_timestamp

Experimental

Simple proc-macro to generate a build timestamp string as a const

0 downloads · 8y ago
0

easy_strings

Experimental

Ergonomic, garbage collected strings for Rust

0 downloads · 9y ago
0

finny

Experimental

Finite State Machines with a procedural builder-style API and compile time transition checks.

0 downloads · 4y ago
0

typology-derive

Experimental

Type derivation for foreign use

0 downloads · 2y ago
0

transfer

Experimental

Crate that exposes a Transfer trait, that is to move what Clone is to copy

0 downloads · 6y ago
0

wrap

Experimental

Generic function wrapping

0 downloads · 9y ago
0

impl_ops

Experimental

Macros for easy operator overloading.

0 downloads · 9y ago
0

ip-macro

Experimental

Macros for writing literal IP addresses

0 downloads · 9y ago
0

fast_escape

Experimental

Simple, fast escaping of characters.

0 downloads · 9y ago
0

fed

Experimental

A sketch implementation of anonymous, tagged unions in stable Rust

0 downloads · 9y ago
0

futures-async-runtime

Experimental

Runtime for the async/await macros in the `futures` crate.

0 downloads · 8y ago
0

block_effects

Experimental

A macro to chain block effects

0 downloads · 6y ago
0

futures-async-runtime-preview

Experimental

Runtime for the async/await macros in the `futures` crate.

0 downloads · 8y ago
0

duck

Experimental

Like `Iterator::peekable`, but can be stacked an arbitrary number of times.

0 downloads · 9y ago
0

match-downcast

Experimental

A set of downcasting matching Rust macros.

0 downloads · 9y ago
0

sorted

Experimental

Provides compile time guarantees for sorted sequences.

0 downloads · 9y ago
0

intern

Experimental

Library for interning strings and other kinds of data. (WIP)

0 downloads · 9y ago
0

transaction-stm

Experimental

transaction abstraction of stm

0 downloads · 9y ago
0

tramp

Experimental

Trampoline for recursive functions, with support for mutual recursion

0 downloads · 8y ago
0

u9

Experimental

Unsigned 9-bit integer type.

0 downloads · 9y ago
0

valuable_futures

Experimental

Utils which allow writing futures::Future and futures::Stream by-value

0 downloads · 9y ago
0

dont_panic_slice

Experimental

Slice that causes link error instead of panicking.

0 downloads · 9y ago
0

init_with

Experimental

Helper trait to initilize an array with a function

0 downloads · 9y ago
0

transaction

Experimental

transaction abstraction library (a.k.a. transaction monad)

0 downloads · 9y ago
0

struct_deser-derive

Experimental

Macros 1.1 implementation of #[derive(StructDeser)]

0 downloads · 9y ago
0

empty-box

Experimental

Allows for `Box`s to have their values moved out and replaced with new values, while reusing the same allocation.

0 downloads · 9y ago
0

id-vec

Experimental

Simplify Graphs in Rust. Introduces IdVec, which automatically creates Ids for each new object, reusing deleted Ids.

0 downloads · 7y ago
0

uncheck-ord

Experimental

Wrapper type to easily convert Ord to PartialOrd. inspired by std::cmp::Reverse

0 downloads · 5y ago
0

kommand

Experimental

Command-line arguments via function arguments

0 downloads · 2y ago
0

empty-option

Experimental

Convenient wrappers for taking/replacing values from mutable references to `Option`s and enforcing invariants.

0 downloads · 9y ago
0

singleton-cell

Experimental

A more powerful Ghost Cell allowing the use of any singleton as the key

0 downloads · 4y ago
0

len-trait

Experimental

Len trait for collectons.

0 downloads · 9y ago
0

iter-trait

Experimental

Iter trait for collectons.

0 downloads · 9y ago
0

he_di_internals

Experimental

Common code for he_di crates

0 downloads · 9y ago
0

he_di_derive

Experimental

Code generation for he_di dependency injection / inversion of control framework

0 downloads · 9y ago
0

he_di

Experimental

Dependency Inversion / Dependency Injection / Inversion of control container for Rust

0 downloads · 9y ago