49 Repositories
Rust function Libraries
A tool for quickly collecting function selectors and decoding signatures from on-chain EVM bytecode.
Overview | Disclaimer | Tests | Installation | Usage | Examples | Aknowledgements | License Overview Sigmund provides a CLI that allows users to colle
Fast Function Dispatch: Improving the performance of Rust's dynamic function calls
Fast Function Dispatch: Improving the performance of Rust's dynamic function calls A safe, pragmatic toolkit for high-performance virtual function cal
Full tutorial on coding AI function calling in Rust programming by [Jeremy Chone](https://youtube.com/jeremychone)
Full tutorial on coding AI function calling in Rust programming by Jeremy Chone. We will be using the OpenAI API, but similar approaches can be applie
An automated CLI tool that optimizes gas usage in Solidity smart contracts, focusing on storage and function call efficiency.
Solidity-Gas-Optimizoor An high performance automated CLI tool that optimizes gas usage in Solidity smart contracts, focusing on storage and function
Solidity Function Selector Miner (AVX2 + Multithreaded)
Function Selector Miner Simple and fast Solidity function selector miner (CPU based). Uses AVX2 instructions and multithreading to compute hashes in p
A Minimalistic Rust library to extract all potential function selectors from EVM bytecode without source code.
EVM Hound A Minimalistic Rust library to extract all potential function selectors from EVM bytecode without source code. Installation $ cargo add evm_
A rust chess implementation using a neural network scoring function built on huggingface/candle + rust + wasm
Rusty Chess What is it? Rusty Chess aims to be a high quality embeddable chess engine that runs entirely locally in the browser (no backend required).
A procedural macro to generate a new function implementation for your struct.
Impl New 🦀 A procedural macro to generate a new function implementation for your struct. 🚀 Add to your project Add this to your Cargo.toml: [depende
Asynchronous runtime abstractions for implicit function decoloring.
decolor Asynchronous runtime abstractions for implicit function decoloring. Decolor is in beta Install | User Docs | Crate Docs | Reference | Contribu
Rust implementation of the PTHash perfect hash function for static compile-time generated hash tables
QuickPHF QuickPHF is a Rust implementation of the PTHash minimal perfect hash function algorithm. It consists of two crates: quickphf - runtime code f
Lambda function to handle Bitbucket webhook payloads, extract relevant information and send notifications to Microsoft Teams
PR-Bot Lambda function to handle Bitbucket webhook payloads, extract relevant information, and send notifications to Microsoft Teams, saving you time
The lambda-chaos-extension allows you to inject faults into Lambda functions without modifying the function code.
Chaos Extension - Seamless, Universal & Lightning-Fast The lambda-chaos-extension allows you to inject faults into Lambda functions without modifying
Select any exported function in a dll as the new dll's entry point.
Description This tool will patch the entry point of the input dll and replace it with the RVA of another exported function in that same dll. This allo
Tool to convert variable and function names in C/C++ source code to snake_case
FixNameCase Tool to convert variable and function names in C/C++ source code to snake_case. Hidden files and files listed in .gitignore are untouched.
A simple tutorial on how to call a C function from Rust 🦀
How to call a C function from Rust 🦀 ☎️ I was working on a Rust project where we needed to interact with code written in C. I had to learn how to wor
Blazingly fast function selector miner written in Rust.
About Blazingly fast function selector miner written in Rust. Usage git clone [email protected]:kadenzipfel/function-selector-miner.git cd function-selec
Efficient argmin & argmax (in 1 function)
ArgMinMax Efficient argmin & argmax (in 1 function) with SIMD (SSE, AVX(2), AVX512, NEON) for f16, f32, f64, i8, i16, i32, i64, u8, u16, u32, u64. 🚀
Simplistic complier~virtual-machine that transforms AST into a Rust function, with basic type checking
rast-jit-vm rast-jit-vm is a simplistic, proof-of-concept~ish compiler / virtual machine that transforms syntax tree into a Rust function, type-checki
A tool to optimize your Solidity function signatures.
sigop A CLI tool to optimize your Solidity function signatures. I wanted to create this after seeing transmissions11's comment about this optimization
Async variant of Tonic's `interceptor` function
Tonic Async Interceptor This crate contains AsyncInterceptor, an async variant of Tonic's Interceptor. Other than accepting an async interceptor funct
Proc macro implementation of #[naked]
#[naked] Documentation This crate provide a proc macro version of the #[naked] attribute which can be used on stable Rust. Example // The SYSV64 calli
A fast and cross-platform Signed Distance Function (SDF) viewer, easily integrated with your SDF library.
SDF Viewer (demo below) A fast and cross-platform Signed Distance Function (SDF) viewer, easily integrated with your SDF library. A Signed Distance Fu
A Rust attribute macro that adds memoization to a function (rhymes with Mickey)
michie (sounds like Mickey) — an attribute macro that adds memoization to a function. Table of contents Features Non-features key_expr key_type store_
MetaCall: The ultimate polyglot programming experience.
MetaCall Polyglot Runtime MetaCall.io | Install | Docs MetaCall allows calling functions, methods or procedures between multiple programming languages
Salvo is a powerful and simplest web server framework in Rust world
Salvo is an extremely simple and powerful Rust web backend framework. Only basic Rust knowledge is required to develop backend services.
Allow function lifetime elision and explicit `for'a` annotations on closures.
::higher-order-closure Allow function lifetime elision and explicit for'a annotations on closures. Motivation / Rationale See the RFC #3216: this cr
Safe OCaml-Rust Foreign Function Interface
ocaml-rust This repo contains code for a proof of concept for a safe OCaml-Rust interop inspired by cxx. This is mostly optimized for calling Rust cod
A neural network model that can approximate any non-linear function by using the random search algorithm for the optimization of the loss function.
random_search A neural network model that can approximate any non-linear function by using the random search algorithm for the optimization of the los
⚡ A Blazing fast alternative to the stock windows folder delete function!
Turbo Delete A blazing fast alternative to the default Windows delete. Turbodelete is a blazing fast alternative to the default Windows delete functio
WasmEdge Host Function Example Interface
A Rust library that provides Rust to WebAssembly developers with syntax for running self-defined host functions when their Wasm is being executed on WasmEdge (formerly SSVM).
A cargo subcommand that displays ghidra function output through the use of the rizin rz-ghidra project.
cargo-rz-ghidra A cargo subcommand that displays ghidra function output through the use of the rizin rz-ghidra project. Install cargo install --git ht
`wasm-snip` replaces a WebAssembly function's body with an `unreachable`
wasm-snip wasm-snip replaces a Wasm function's body with an unreachable instruction. API Docs | Contributing | Chat Built with 🦀 🕸 by The Rust and W
the official Rust and C implementations of the BLAKE3 cryptographic hash function
BLAKE3 is a cryptographic hash function that is: Much faster than MD5, SHA-1, SHA-2, SHA-3, and BLAKE2. Secure, unlike MD5 and SHA-1. And secure again
Rust macro to make recursive function run on the heap (i.e. no stack overflow).
Decurse Example #[decurse::decurse] // 👈 Slap this on your recursive function and stop worrying about stack overflow! fn factorial(x: u32) - u32 {
Demonstration of flexible function calls in Rust with function overloading and optional arguments
Table of Contents Table of Contents flexible-fn-rs What is this trying to demo? How is the code structured? Named/Unnamed and Optional arguments Mecha
Command line interface as a function.
Command line interface as a function. fncmd fncmd is an opinionated command line parser frontend that wraps around clap. The functionality is mostly i
A Rust attribute macro to limit a function's number of runs over a specified period of time
throttle_my_fn: A Rust attribute macro to throttle the execution of functions throttle_my_fn is a Rust attribute macro to limit a function's number of
Finds matching solidity function signatures for a given 4 byte signature hash and arguments.
Finds matching solidity function signatures for a given 4 byte signature hash and arguments. Useful for finding collisions or 0x00000000 gas saving methods (though there are better techniques for saving gas on calldata)
Lineiform is a meta-JIT library for Rust interpreters
Lineiform Lineiform is a meta-JIT library for Rust interpreters. Given an interpreter that uses closure generation, it allows an author to add minimal
a function programming language for real world applications made in rust
a function programming language for real world applications made in rust
Foreign Function Interface Plugin for Deno.
Deno FFI Plugin to call dynamic library functions in Deno. Usage import { Library } from "https://deno.land/x/[email protected]/mod.ts"; const lib = new
A Rust serverless function to retrieve and relay a playlist for Twitch livestreams/VODs.
City17 A Rust serverless function to retrieve and relay a playlist for Twitch livestreams/VODs. By running this in specific countries and using a brow
Fast dense evaluation of Green's function kernels in Rust
Fast evaluation of Greens functions in Rust This library allows the fast evaluation of Greens functions and potential sums for Laplace, Helmholtz, and
Easy-to-use optional function arguments for Rust
OptArgs uses const generics to ensure compile-time correctness. I've taken the liberty of expanding and humanizing the macros in the reference examples.
Deno Foreign Function Interface.
deno_plugin_ffi (WIP & Need Help) Deno Foreign Function Interface. deno_ffi is a Deno plugin for loading and calling dynamic libraries using pure Java
A Quest to Find a Highly Compressed Emoji :shortcode: Lookup Function
Highly Compressed Emoji Shortcode Mapping An experiment to try and find a highly compressed representation of the entire unicode shortcodes-to-emoji m
An OpenGL function pointer loader for Rust
gl-rs Overview This repository contains the necessary building blocks for OpenGL wrapper libraries. For more information on each crate, see their resp
A priority queue for Rust with efficient change function.
PriorityQueue This crate implements a Priority Queue with a function to change the priority of an object. Priority and items are stored in an IndexMap
Rust cache structures and easy function memoization
cached Caching structures and simplified function memoization cached provides implementations of several caching structures as well as a handy macro f