#closures

  1. waker-fn

    Convert closures into wakers

    v1.2.0 2.7M #waker #callback #closures #async #wake #closure
  2. ena

    Union-find, congruence closure, and other unification code. Based on code from rustc.

    v0.14.3 1.0M #union-find #closures #unification #congruence #rustc #congruence-closure #benchmark
  3. auto_impl

    Automatically implement traits for common smart pointers and closures

    v1.2.1 1.5M #smart-pointers #traits #closures #proc-macro #proc-macro-attributes #impl #closure
  4. with_locals

    Function attribute to return references to locals by using CPS

    v0.3.3 50K #local #callback #closures #cps #locals #proc-macro #with
  5. libffi

    Rust bindings for libffi

    v3.2.0 45K #closures #ffi #c
  6. swc_ecma_transforms_base

    rust port of babel and closure compiler

    v11.2.0 106K #javascript-compiler #typescript #typescript-compiler #swc #javascript-parser #babel #closures
  7. swc_ecma_transforms_typescript

    rust port of babel and closure compiler

    v12.0.1 74K #typescript #typescript-compiler #javascript-compiler #swc #babel #closures #javascript-parser
  8. swc_ecma_transforms_proposal

    rust port of babel and closure compiler

    v11.0.1 68K #javascript-compiler #typescript #swc #babel #closures #port #web
  9. internal-iterator

    Internal iteration equivalent of std::iter::Iterator

    v0.2.3 1.1K #iterator #iteration #tree #closures #internal #data-structures #element
  10. swc_ecma_transforms_optimization

    rust port of babel and closure compiler

    v11.0.0 50K #typescript-compiler #javascript-compiler #swc #babel #closures #web
  11. eqlog

    Datalog with equality

    v0.8.0 #datalog #equality #rule #closures #relation #congruence #symbols
  12. swc_ecma_transforms_react

    rust port of babel and closure compiler

    v12.0.1 81K #typescript #typescript-compiler #swc #babel #javascript-compiler #closures #web
  13. swc_ecma_transforms_module

    rust port of babel and closure compiler

    v12.0.0 16K #javascript-compiler #typescript #swc #babel #javascript-parser #web #closures
  14. generativity

    Generation of unique invariant lifetimes

    v1.1.0 15K #lifetime #unique #invariants #closures #unsafe-tools #generation #borrow
  15. orx-funvec

    Traits to unify access to elements of n-dimensional vectors which are particularly useful in algorithms requiring both flexibility through abstraction over inputs and performance through monomorphization

    v0.1.6 290 #closures #array #matrix #multi-dimensional #vec #algorithm #data-access
  16. swc_ecma_transforms

    rust port of babel and closure compiler

    v14.0.0 16K #javascript-compiler #typescript-compiler #javascript-parser #babel #web #swc #closures
  17. drop-stream

    A stream that wraps another stream with a closure that is called once it is dropped

    v0.3.2 2.3K #stream #data-transfer #closures #data-stream #drop #future #connection
  18. swc_ecma_transforms_compat

    rust port of babel and closure compiler

    v12.0.0 21K #javascript-compiler #typescript #swc #babel #javascript-parser #closures #web
  19. orx-closure

    An explicit closure with absolute seperation of the captured data from the function

    v0.1.4 200 #closures #traits #capture #fn #fn-traits #move
  20. serde_closure

    Serializable and debuggable closures. This library provides macros that wrap closures to make them serializable and debuggable

    v0.3.3 420 #closures #serialization #serde #distributed #closure #debugging
  21. terrazzo-client

    macro to clone variables before passing them into a move closure or async block

    v0.1.5 #terrazzo #closures #node #attributes #html #wasm #template
  22. closure-ffi

    FFI utility for creating bare function pointers that invoke a closure

    v0.2.0 450 #closures #ffi #closure
  23. forte

    A low-overhead thread-pool with support for non-static async closures

    v1.0.0-alpha.1 #thread-pool #async #running #heartbeat #closures #non-static #tasks
  24. mutex-traits

    An abstraction over closure-based mutexes

    v1.0.0 1.0K #mutex #closures #abstraction #critical-section #traits #pattern #lifo
  25. libffi2

    Rust bindings for libffi

    v3.3.0 140 #closures #libffi #ffi #closure #c
  26. swc_ecma_transforms_testing

    rust port of babel and closure compiler

    v11.0.1 14K #typescript-compiler #javascript-compiler #swc #babel #typescript-parser #javascript-parser #closures
  27. func

    that helps creating colsures from function pointers

    v0.1.0 #pointers #captured #colsures #capturing #value #closures #capture
  28. libffi-sys

    Raw Rust bindings for libffi

    v2.3.0 45K #closures #libffi #ffi #c #closure #call
  29. composable

    Easy composition of functional traits, functions or closures

    v0.9.0 120 #composition #traits #functional #closures #functional-traits #functions #ease
  30. fn-store

    A dynamic persistent value store using closure type as key and storing its return value

    v1.2.1 700 #closures #key-value-store #injection #persistent #dynamic #storing #return
  31. libffi-sys2

    Raw Rust bindings for libffi

    v2.4.0 140 #closures #ffi #libffi #c #closure
  32. capture-it

    Modern c++-ish capture syntax for rust

    v0.4.3 500 #closures #capture #lambda #syntax #modern #move #cpp
  33. bappy-script

    Gankra's toy compiler

    v0.1.0 #compiler #system #interpreter #toy #closures #control-flow #variables
  34. drop_guard

    enables you to implement the Drop trait on any type. So you can run a closure on any value running out of scope

    v0.3.0 950 #closures #callback #container #lambda #type-system #closure
  35. wasm-mt

    A multithreading library for Rust and WebAssembly

    v0.1.3 #web-worker #worker-thread #multi-threading #wasm #thread-pool #async-await #closures
  36. higher-order-closure

    Allow function lifetime elision and explicit for<'a> annotations on closures

    v0.0.5 5.4K #higher-order #closures #lifetime #signature #closure #hrtb
  37. run_once

    Runs code in rust once, from a closure

    v0.1.2 #closures #once #run
  38. protoc-plugin-by-closure

    Use Google Protocol Buffer compiler (protoc) with your closure code

    v0.1.6 370 #compiler-plugin #closures #protoc #binary #buffer #run #protocols
  39. moga

    A multi-objective genetic algorithm framework

    v0.2.0 #genetic-algorithm #genetic #closures #framework #evolutionary #next-generation
  40. short_future

    Future with shorter lifetime for async closures

    v0.1.1 650 #lifetime #closures #async #future #bounds #hrtb #borrow
  41. union-fn

    Proc. macro for creating efficient "inline closures".

    v0.2.0 #dispatch #interpreter #instructions #closures #proc-macro #function #closure
  42. emplacable

    Return unsized values from functions

    v0.1.0-alpha.16 130 #unsized #values #closures #functions #placement-new #i32 #return
  43. control-flow

    A hack to control control-flow outside closures

    v0.1.1 #flow-control #closures #control #flow #macro #closure #filesystem
  44. scoped-mutex

    An abstraction over closure-based mutexes

    v0.1.0 #mutex #closures #abstraction #scoped #fork #closure-based #blocking
  45. arpack-ng

    Save interface to arpack-ng-sys

    v0.2.2 #eigenvalues #matrix-vector #arnoldi #bindings #problem #closures #restarted
  46. deno-libffi

    Rust bindings for libffi

    v0.0.7 #closures #libffi #ffi #c
  47. closure-core

    CLOSURE: complete listing of original samples of underlying raw evidence

    v0.1.0 #closures #raw #original #complete #listing #samples #evidence
  48. situwaition

    Run a closure continuously, until is succeeds or times out

    v0.3.2 #timeout #closures #wait #tokio #succeed #continuously #ok
  49. gosh-lbfgs

    Fast and safe Rust implementation of LBFGS and OWL-QN algorithms ported from Naoaki Okazaki's C library libLBFGS

    v0.1.0 #optimization #lbfgs #callback #abstraction #owl-qn #closures #chemistry
  50. ffd

    Fast Function Dispatch: Improving the performance of Rust's dynamic function calls

    v0.1.0-alpha.1 #dynamic-dispatch #performance #calls #closures #virtual #fn #nightly
  51. async-wormhole

    Async calls across non-async functions

    v0.3.7 #async #async-await #jit #non-async #closures #calls #functions
  52. nias

    closure generator library

    v0.7.0 19K #closures #generator #generate
  53. async_closure

    utilizes the nightly-only feature async_fn_in_trait to imitate async_closures

    v0.1.2 #async-trait #traits #closures #macro #capture #state #async-closures
  54. rhook

    Hook libc functions with an easy API

    v0.8.0 #hook #closures #libc #debugging #command #functions #methods
  55. ffi-closure

    Send and recevie closures through FFI

    v1.1.0 130 #closures #abi #send-receive #closure #send-sync #ffi #c
  56. morphism

    A structure for suspended closure composition in Rust

    v0.4.1 #closures #monoid #functional #stackless
  57. nclosure

    composable, nameable closure types with separated states and functionality for use in APIs where anonymous types are unavailable

    v0.1.0 #closures #functional #api #no-std
  58. namable_closures

    types and macros to create namable closure types

    v0.2.4 120 #closures #namable #create #macro #types #extern #nightly
  59. closure_attr

    An attribute macro to simplify closure captures

    v0.4.0 #closures #capture #attributes #callback #macro #cell #rc
  60. mitosis

    providing the ability to spawn processes with custom closures

    v0.1.1 220 #spawn #closures #processes #ability #aws-lambda #local #machine
  61. scoped-mutex-traits

    An abstraction over closure-based mutexes

    v1.0.0 #mutex #closures #abstraction #traits #scoped #fork #embassy-sync
  62. stream-more

    Stream utilities for Rust

    v0.1.3 3.7K #stream #merge #future #operate #iter #sorting #closures
  63. aio

    without the dependency hell

    v0.1.0 #aio #hell #closures
  64. topset

    Top N selector

    v0.4.0 290 #top #items #binary-heap #traits #greatest #closures #sorting
  65. syn-dissect-closure

    Analyze syn ExprClosure body

    v0.1.0 #closures #proc-macro #syn #environment #body #captured #tasks
  66. callable

    closures implementing PartialEq and argument operations

    v0.5.0 #closures #partial-eq #argument #operations #prelude
  67. timeware

    timer used to schedule execution of closures at a given timestamp

    v0.2.0 #closures #timer #async #async-await #timestamp #schedule #execution
  68. closure

    A macro for capturing variables on a per variable basis

    v0.3.0 7.0K #closures #capture #macro
  69. Try searching with DuckDuckGo.

  70. mth_calc

    demonstrating Cargo. Contains helper method for running a process in parallel on all available processors.

    v0.1.6 #cargo #multi-threading #parallel #closures #processors #helper #running
  71. anonymous-trait

    Anonymous trait implementation with capturing the environment

    v0.1.3 #anonymous #closures #async-await #closure #tokio
  72. tokio-stream-extra

    stream extensions

    v0.0.3 #stream #tokio #extension #split #traits #closures #items
  73. clonesure

    A helper macro to create closures which will clone its environment

    v0.3.0 #closures #clone #macro #closure
  74. variadic_closure

    Support for dynamically created and called closures with variable number of arguments

    v1.3.0 #closures #numbers #arguments #dynamic #variables #generics #dynamically
  75. clint

    CLosure INTerrupt handlers

    v0.3.0 #interrupt #peripheral #handlers #array #closures #c-losure #default
  76. struct-string-template

    string templating language on struct fields

    v0.1.0 #struct-fields #string #template-string #closures #templating #selector #template-engine
  77. dyn-fn-once

    Dynamically-typed self-consuming closures in Rust

    v0.1.0 #closures #dynamically-typed #self-consuming #fn #create #capture #dyn
  78. timer-rs

    timer used to schedule execution of closures at a given timestamp

    v0.0.6 #timer #closures #async #delay #task #execution #schedule
  79. with_locals-proc_macros

    TODO!

    v0.3.3 52K #local #closures #callback #cps #with #locals #proc-macro
  80. fn-map

    Abstraction around HashMap. Uses closure to compute and store value.

    v0.1.1 100 #closures #hash-map #typemap #anymap #closure
  81. evaluator

    interfaces and implementations for logic constructs that return values without accepting arguments, either via closure captures, global state, calculation or otherwise

    v1.0.1 #closures #interface #values #capture #calculations #constructs #return
  82. fn_block

    defining macros for calling blocks or expressions in a closure

    v0.2.1 #closures #macro #block #calling #expressions #closure #call
  83. ulid-rs

    Rewrites https://github.com/suyash/ulid from C++ to Rust

    v0.1.0 180 #ulid #github #com-suyash-ulid #rewrites #closures #timestamp #unmarshal
  84. string-parser

    String parsing crate

    v0.1.5 #parser #string #end-filter #bool #true #false #closures
  85. deno-libffi-sys

    Raw Rust bindings for libffi

    v0.0.7 130 #closures #ffi #libffi #c #closure
  86. upget

    Super simple trait that patterns the value "updae" and "get"

    v0.1.1 #update #closures #get #closure
  87. fix_fn

    Macro to create recursive closures (similar to the Y combinator)

    v1.0.2 220 #recursion #closures #macro #fixpoint #y-combinator #closure
  88. closure_capture

    Capture variables are moved into closure or async block

    v0.1.0 #closures #async #macro #closure
  89. with_closure

    Ensure that the noalias optimization takes effect by expanding to closure call

    v0.1.2 #noalias #closures #ensure #optimization #effect #call #with
  90. webrocket

    A closure focused WebSocket server implementation

    v0.1.0 #websocket-server #websocket #sha-1 #base64 #closures #scratch #programmed
  91. clonelet

    macro to capture by clone in closures

    v0.2.0 130 #closures #clone #capture #lambda #dom #closure
  92. commandext

    A Command extension suitable for use in Rust Builders

    v0.1.0 130 #command #builder #buildable #rub #extension #execute #closures
  93. closure_calculus

    Closure Calculus

    v0.1.0 #closures #calculus #jay #barry
  94. functional-closures

    composable pure functions with the signature f(T) -> T

    v0.4.0 #closures #pure #constant #functions #composable #operations #combine
  95. take_mut

    Take a T from a &mut T temporarily

    v0.2.2 624K #mut #foo #temporarily #closures #goes #return #now
  96. generic-lexer

    A generic lexer using a simple match function

    v0.5.0 #lexer #input #generic #match #closures #buffered-input #enums
  97. funfun

    Macros for working with closures

    v0.2.4 #macro #functional #closures
  98. iterify

    Turn any type into an iterator with closures!

    v0.1.2 #iterator #closures #iterate #anything #functional-programming #reference #mutable
  99. bind_syn

    Syntax definition of let-binding shorthand utilized in crate bind

    v0.1.0 #closures #binding #capture #clone #closure
  100. yield-closures

    MCP-49

    v0.1.0 #yield #mcp-49 #closures #co
  101. scope-exit

    The util to call procedure when exit current scope. scope exit. like defer in go.

    v0.2.0 #scope #resource #exit #defer #closures #procedure #leave
  102. curry-macro

    Have fun currying using Rust's native closure syntax

    v0.1.0 #curry #closures #function #fp #closure
  103. maller

    that calls closures depending on the input data

    v0.1.0 #closures #call #utilities #matches
  104. c-closures-build

    Generates C/C++ FFI compatible *Closure structures from rust closures, useful for cross language functional programming

    v4.0.0 #closures #cc #functional-programming #cross #structures #compatible #boundary
  105. time-check-loop

    add a README.md

    v0.1.1 #loop #check #execution #thread #executed #exit #closures
  106. lincoln_compiled

    Lowest level presentation of Lincoln

    v0.1.0 #lincoln #context #level #ir #external #closures #value
  107. rusty-scheduler

    A single threaded closure and function scheduler

    v0.1.1 #threaded #scheduler #closures #defer #move #run #schedular
  108. randotron

    Trivial little library that lets you randomly execute a closure with a sample rate

    v0.1.1 #sample-rate #closures #random #randomly #execute #little #trivial
  109. cbit

    A proc-macro to use callback-based iterators with for-loop syntax and functionality

    v0.1.0 #iterator #proc-macro #closures #control-flow #break #syntax #regular
  110. closure_cacher

    Allows caching of user specified closure

    v0.2.1 #closures #cache #closure #user-input
  111. async-rusqlite

    A tiny executor agnostic wrapper around rusqlite to make calls to it async

    v0.4.0 170 #rusqlite #async-executor #thread #async-task #async-context #tiny #closures
  112. function_cache

    A type that automatically caches the result of a function

    v0.1.0 #cache #closures #hash-map #results #automatic
  113. ownage

    Perform a massive ownage of your variables! Clone into closure without macros

    v0.1.0 #own #closures #clone #utility #rust #closure
  114. any-opt

    macro to get the first value from a list of options

    v1.0.1 #options #any #first #list #value #macro #closures
  115. minimal_web

    A minimal tool for build web-page easier using Rust

    v0.1.2 #web #closures #document #html #animation #call #parallax
  116. thread_isolated

    Isolating values allowing access via closures run on an owning thread

    v0.1.1 #thread #closures #access #run #allowing #owning #data-access
  117. stator

    Clearly manage state transitions using closures in Rust

    v0.1.1 #state #state-transition #closures #manage #clearly
  118. capture

    A macro for adding explicit capture clauses to a (closure-) expression

    v0.1.0 #closures #clause #macro #closure
  119. closet

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

    v0.2.2 #reduce-boilerplate #closures #currying #automatic #utilities #toolbox #vindaloo
  120. closures

    Abstraction for seperating code and state in closures

    v0.1.2 #clone #traits #eq #unboxed #closure
  121. closures_test

    test

    v0.1.0 #closures #test #closures-test
  122. iter_from_closure

    Iterator<Item = Item> from FnMut() -> Option<Item>

    v1.0.0 #closures #iterator #closure
  123. clone_all

    clone_all!(my,variables,with,long,names);

    v0.1.1 330 #clone #move #threading #closures
  124. map-self

    Map a value itself instead of its contained value in usual closure style

    v0.1.0 #closures #traits #value #style #contained
  125. benchlib-rs

    A libary to benchmark closures

    v0.4.2 #benchmark #libary #closures
  126. ondrop

    Do something on drop

    v0.1.0 #drop #closures #dropped
  127. your_game_of_life

    A small Rust crate for with minimal functionality to customize Conway's Game of Life

    v0.1.0 #life #game #conway #customization #cell #closures #alive
  128. fnmutant

    A mutant closure Fn(&mut ...)

    v0.1.0 #closures #fn-mut #mutant
  129. congruence

    closure

    v0.4.0 #disjoint-set #closures #node #union-find #forest #traits #dense
  130. hello_closures

    hello closures and iterator

    v0.1.0 #closures #iterator #hello
  131. closure-ffi-proc-macros

    Proc macros used and exported by the closure-ffi crate

    v0.2.0 230 #closures #ffi #closure #wrapper #proc-macro