67 Repositories
Rust signed-distance-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
Convenience crate for verifying crypto-signed messages
signature-verifier This crate provide an easy way to verify Solana and Ethereum wallet-signed messages. Installation Add the crate to your Cargo.toml
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
Adjustment Identification Distance: A gadjid for Causal Structure Learning
Adjustment Identification Distance: A ππππππ for Causal Structure Learning This is an early release of ππππππ π₯ and feedback is very welc
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_
Signed distance functions + Rust (CPU & GPU) = β€οΈβ€οΈ
sdf-playground Signed distance functions + Rust (CPU & GPU) = β€οΈβ€οΈ Platforms: Windows, Mac & Linux. About sdf-playground is a demo showcasing how you
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
Bring the power of pre-signed URLs to your apps. Signway is a gateway for redirecting authentic signed URLs to the requested API
A gateway that proxies signed requests to other APIs. Check the docs for more info. If you are looking for the managed version checkout this link http
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 crate to help you copy things into raw buffers without invoking spooky action at a distance (undefined behavior).
π presser Utilities to help make copying data around into raw, possibly-uninitialized buffers easier and safer. presser can help you when copying dat
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
Multi-channel signed distance field (MSDF) generator for fonts implemented in pure Rust.
msdfont WIP - school started so less updates from now on :(( Multi-channel signed distance field (MSDF) generator for fonts implemented in pure Rust.
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
Authenticate a tarball through a signed tag in a git repository (with reproducible builds)
auth-tarball-from-git Authenticate a tarball through a signed tag in a git repository (with reproducible builds). The signed git tag contains a hash o
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
A CLI spelling corrector for when you're unsure
DidYouMean DidYouMean (or dym) is a command-line spelling corrector written in rust utilizing a simplified version of Damerau-Levenshtein distance. Di
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
Extended precision integer Rust library. Provides signed/unsigned integer 256 to 2048.
Extended precision integer Rust library. Provides signed/unsigned integer 256 to 2048.
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 {
Variable-length signed and unsigned integer encoding that is byte-orderable for Rust
ordered-varint Provides variable-length signed and unsigned integer encoding that is byte-orderable. This crate provides the Variable trait which enco
Python package to compute levensthein distance in rust
Contents Introduction Installation Usage License Introduction Rust implementation of levensthein distance (https://en.wikipedia.org/wiki/Levenshtein_d
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
π β Uses the Jaro similarity metric to measure the distance between two strings
distance distance: Uses the Jaro similarity metric to measure the distance between two strings FYI, this was just to test Neon, I do not recommend usi
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
Compute a pairwise SNP distance matrix from one or two alignment(s)
Compute a pairwise SNP distance matrix from one or two alignment(s) Table of Contents Motivation Install cargo conda Precompiled binaries homebrew Con
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)
Signed distance field font and image command line tool based on OpenCL.
SDFTool Signed distance field font and image command line tool based on OpenCL. Build Windows Run cargo build --release in Visual Studio developer x64
A set of tools for generating signed exchanges at serve time.
sxg-rs sxg-rs is a set of tools for generating signed exchanges at serve time: cloudflare_worker runs on Cloudflare Workers. fastly_compute runs on Fa
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
Locality Sensitive Hashing in Rust with Python bindings
lsh-rs (Locality Sensitive Hashing) Locality sensitive hashing can help retrieving Approximate Nearest Neighbors in sub-linear time. For more informat
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
Instance Distance is a fast pure-Rust implementation of the Hierarchical Navigable Small Worlds paper
Fast approximate nearest neighbor searching in Rust, based on HNSW index
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
Rust edit distance routines accelerated using SIMD. Supports fast Hamming, Levenshtein, restricted Damerau-Levenshtein, etc. distance calculations and string search.
triple_accel Rust edit distance routines accelerated using SIMD. Supports fast Hamming, Levenshtein, restricted Damerau-Levenshtein, etc. distance cal
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