80 Repositories
Rust dependent-types Libraries
oneoff is a library for one-off types
OneOff OneOff is a library for one-off types use oneoff::OneOff; let left = OneOff::Left(1); let right = OneOff::Right(2); assert_eq!(left, OneOff:
This crate provides data-types defined by the VDA5050 standard.
VDA5050 Types This crate provides data-types for the rust programming language defined by the VDA5050 standard. VDA5050 is an open standard for commun
Owned container for dynamically-sized types backed by inline memory
sized-dst This crate provides Dst, an owned container for dynamically-sized types (DSTs) that's backed by inline memory. The main use-case is owned tr
A fast bump allocator that supports allocation scopes / checkpoints. Aka an arena for values of arbitrary types.
bump-scope A fast bump allocator that supports allocation scopes / checkpoints. Aka an arena for values of arbitrary types. What is bump allocation? A
Efficiently store Rust idiomatic bytes related types in Avro encoding.
Serde Avro Bytes Avro is a binary encoding format which provides a "bytes" type optimized to store &[u8] data like. Unfortunately the apache_avro enco
serde support for http crate types Request, Response, Uri, StatusCode, HeaderMap
serde extensions for the http crate types Allows serializing and deserializing the following types from http: Response Request HeaderMap StatusCode Ur
A lending iterator trait based on generic associated types and higher-rank trait bounds
A lending iterator trait based on higher-rank trait bounds (HRTBs) A lending iterator is an iterator which lends mutable borrows to the items it retur
Create custom ID types that are guaranteed to be valid `RecordID` in SurrealDB
surreal-id The surreal-id crate offers a standardized way to create and validate IDs in your application for usage with SurrealDB. Using the NewId tra
Attach Bevy's Handles/Entities statically to Types.
Easily attach bevy's Handles/Entities statically to types on startup and get them in any system, without using Resources. It's just a little less clut
The most primitive and the fastest implementation of a fixed-size last-in-first-out stack on stack in Rust, for Copy-implementing types
This is the simplest and the fastest (faster than Vec!) implementation of a last-in-first-out stack data structure, on stack, when stack elements are
Idiomatic Rust implementations for various Windows string types (like UNICODE_STRING)
nt-string by Colin Finck [email protected] Provides idiomatic Rust implementations for various Windows string types: NtUnicodeString (with NtUnicode
🐺 Starknet Rust types 🦀
types-rs 🐺 Starknet Rust types 🦀 This repository is an initiative by a group of maintainers to address the fragmentation in the Starknet Rust ecosys
Choose Rust types at compile-time via boolean constants
condtype Choose Rust types at compile-time via boolean constants, brought to you by Nikolai Vazquez. If you find this library useful, consider starrin
A package for common types for Cargo index interactions, and conversion between them.
Development stream: https://youtu.be/zGS-HqcAvA4 License Licensed under either of Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org
Simple shared types for multi-threaded Rust programs
Keep Calm (and call Clone) Simple shared types for multi-threaded Rust programs: keepcalm gives you permission to simplify your synchronization code i
Proost - A small proof assistant written in Rust
A simple proof assistant written in Rust. The specification of the project may be found here, and the user manual here. The API documentation c
Avalanche primitive types in Rust (experimental)
AvalancheGo Compatibility Crate Version(s) AvalancheGo Version(s) Protocol Version v0.0.134-155 v1.9.2,v1.9.3 19 v0.0.156-176 v1.9.4 20 v0.0.177-200 v
Algebraic structures, higher-kinded types and other category theory bad ideas
Algar Algebric structures, higher-kinded types and other category theory bad ideas. Yes, you'll have generalized functors, applicatives, monads, trave
A black-box raw calldata decoder using only calldata to guess types and parse parameters.
Calldata Decoder A black-box raw calldata decoder using only calldata. Based off the topics discussed in DeGatchi's article, Reverse The EVM: Raw Call
Seamless Higher-Kinded Types in Rust
Seamless Higher-Kinded Types in Rust This is actual working code: pub trait FunctorA : HKT1 { fn mapB, F: FnMut(A) - B(self, f: F) - Self::W
Bam Error Stats Tool (best): analysis of error types in aligned reads.
best Bam Error Stats Tool (best): analysis of error types in aligned reads. best is used to assess the quality of reads after aligning them to a refer
Optimized geometry primitives for Microsoft platforms with the same memory layout as DirectX and Direct2D and types.
geoms Geometry for Microsoft platforms - a set of geometry primitives with memory layouts optimized for native APIs (Win32, Direct2D, and Direct3D). T
A tool for determining file types, an alternative to file
file-rs a tool for determining file types, an alternative to file whats done determining file extension determining file type determining file's mime
Simple stupid noise primitives for WGSL and Rust (glam/bevy types)
noisy_bevy Simple stupid noise primitives for glam types (Vec2, Vec3) and wgsl. Main motivations are: ergonomic usage with Bevy same results on rust a
Lapce vue plugin, support vue (SFC) syntax highlight, autocomplate,types check
Lapce Plugin for Vue (based volar) Preview Usage Required: Lapce version must be greater than 2.0, and you can use Lapce nightly version. click here t
Generate Soufflé Datalog types, relations, and facts that represent ASTs from a variety of programming languages.
treeedb treeedb makes it easier to start writing a source-level program analysis in Soufflé Datalog. First, treeedb generates Soufflé types and relati
Nederlandse programmeertaal. Geinterpreteerd en met dynamische types. Met bytecode compiler en virtual machine, in Rust.
Nederlang Nederlang is een geinterpreteerde programmeertaal, in het Nederlands! Met als bestandsnaam extensie.... .nl! Het maakt gebruik van dynamisch
Decode SCALE bytes into custom types using a scale-info type registry and a custom Visitor impl.
scale-decode This crate attempts to simplify the process of decoding SCALE encoded bytes into a custom data structure given a type registry (from scal
Unopinionated low level API bindings focused on soundness, safety, and stronger types over raw FFI.
🔥 firehazard 🔥 Create a fire hazard by locking down your (Microsoft) Windows so nobody can escape (your security sandbox.) Unopinionated low level A
Provide types for angle manipulation in rust.
angulus Provides types for angle manipulation. Features serde : Serialization/deserialization support via serde. Example use angulus::{*, units::*};
Bevy plugin to simulate and preview different types of Color Blindness.
Bevy Color Blindness Simulation Bevy plugin to simulate and preview different types of Color Blindness. This lets you ensure that your game is accessi
Utilites for working with `bevy_ecs` when not all types are known at compile time
bevy_ecs_dynamic Utilities for working with bevy_ecs in situations where the types you're dealing with might not be known at compile time (e.g. script
Application that simulates a large grid of Pokémon types fighting each other.
poke-fighting-rust Rust project that simulates a grid of Pokémon fighting with each other. Each Pokémon type is a pixel on the grid and is represented
Option and Either types with variants known at compile time.
Const Either Some types to allow deciding at compile time if an option contains a value or which variant from the either type is active. This might be
Custom deserialization for fields that can be specified as multiple types.
serde-this-or-that Custom deserialization for fields that can be specified as multiple types. This crate works with Cargo with a Cargo.toml like: [dep
A repository full of manually generated hand curated JSON files, which contain the API Types that the Discord API returns.
Discord API Types A repository full of manually generated hand curated JSON files, which contain the API Types that the Discord API returns. Also did
A set of safe Least Recently Used (LRU) map/cache types for Rust
LruMap A set of safe Least-Recently-Used (LRU) cache types aimed at providing flexible map-like structures that automatically evict the least recently
A rust program to try and detect some types of Hardware Keyloggers.
Hardware Keylogger Detection Warning: Certain Types of Hardware keyloggers can not be detected by this program, Passive Hardware Keyloggers are imposs
Showcase for pathological compile times when using knuffel / chumsky / VERY LARGE types
netherquote Showcase for pathological compile times when using knuffel / chumsky / VERY LARGE types. How to reproduce The rust toolchain version is pi
🍖A WGPU graphics pipeline, along with simple types used to marshal data to the GPU
renderling 🍖 This library is a collection of WGPU render pipelines. Shaders are written in GLSL. shaderc is used to compile shaders to SPIR-V. Defini
Portable atomic types.
portable-atomic Portable atomic types. Provide all atomic integer types (Atomic{I,U}{8,16,32,64}) for all targets that can use atomic CAS. (i.e., all
Rust types for the OASIS Common Alerting Protocol (CAP)
Rust types for the OASIS Common Alerting Protocol (CAP)
An unsafe botched job that doesn't rely on types being 'static lifetime.
An unsafe botched job that doesn't rely on types being 'static lifetime. Will panic if provided a 0 field struct. I will fix this when I figure out how.
Learn Rust black magics by implementing basic types in database systems
Type Exercise in Rust (In Chinese) 数据库表达式执行的黑魔法:用 Rust 做类型体操 This is a short lecture on how to use the Rust type system to build necessary components
Time related types (and conversions) for scientific and astronomical usage.
astrotime Time related types (and conversions) for scientific and astronomical usage. This library is lightweight and high performance. Features The f
An implementation of a predicative polymorphic language with bidirectional type inference and algebraic data types
Vinilla Lang Vanilla is a pure functional programming language based on System F, a classic but powerful type system. Merits Simple as it is, Vanilla
serde-like serialization and deserialization of static Rust types in XML
static-xml static-xml is a serde-like serialization and deserialization library for XML, currently written as a layer on top of xml-rs. Status: in ear
A library for transcoding between bytes in Astro Notation Format and Native Rust data types.
Rust Astro Notation A library for transcoding between hexadecimal strings in Astro Notation Format and Native Rust data types. Usage In your Cargo.tom
Allows conversion between ndarray's types and image's types
ndarray-image Allows conversion between ndarray's types and image's types Deprecated WARNING: This crate is currently deprecated in favor of https://g
Serialize/Deserialize tch-rs types with serde
tch-serde: Serialize/Deserialize tch-rs types with serde This crate provides {ser,de}ialization methods for tch-rs common types. docs.rs | crates.io U
Web-app that simulates different types of color blindness from a user-provided input image.
What is Dalted? Web-app that simulates different types of color blindness from a user-provided input image. Resources The color blindness simulation i
A typemap for a set of known types optionally without heap allocation, and supporting iterating by traits
fixed_typemap docs.rs GitHub Sponsors Implements typemaps that support a lot of extra funcctionality using procedural macros. docs.rs has a lot more t
Rust lib for a Vec-like structure that can store different types of different sizes contiguous with each other in memory.
hvec In memory of Anna Harren, who coined the term turbofish - which you'll see a lot of if you use this crate. The main purpose of this crate is the
Assembly-level implementation of interesting data types
Clnooms Assembly-level implementation of various interesting data types on Rust Table of Contents Data Types Half-precision floating point (f16) Exten
A collection of numeric types and traits for Rust.
num A collection of numeric types and traits for Rust. This includes new types for big integers, rationals (aka fractions), and complex numbers, new t
Use explicit container types with Scrypto! Leverage the Rust compiler's type checking to increase security and productivity when developing Radix blueprints.
Scrypto Static Types Use explicit container types with Scrypto! Leverage the Rust compiler's type checking to increase security and productivity when
Allows processing of iterators of Result types
try-continue try-continue provides one method, try_continue, which allows you to work with iterators of type ResultT, _, as if they were simply iter
A Rust API search engine
Roogle Roogle is a Rust API search engine, which allows you to search functions by names and type signatures. Progress Available Queries Function quer
Annoyed that Rust has many string types? Well it doesn't have to
generic-str The one true string type in Rust! This project intends to be a proof-of-concept for an idea I had a few months back. There is lots of unsa
Common Rust Lightning Network types
Common Rust Lightning Network types Warning: while in a good state, this is still considered a preview version! There are some planned changes. This l
🪣 Types for a `Vec`'s raw parts
raw-parts A wrapper around the decomposed parts of a VecT. This struct contains the Vec's internal pointer, length, and allocated capacity. RawParts
Serialize/DeSerialize for Rust built-in types and user defined types (complex struct types)
Serialize/DeSerialize for Rust built-in types and user defined types (complex struct types)
Typify - Compile JSON Schema documents into Rust types.
Typify Compile JSON Schema documents into Rust types. This can be used ... via the macro import_types!("types.json") to generate Rust types directly i
bn.js bindings for Rust & WebAssembly with primitive-types support
bn.rs bn.js bindings for Rust & WebAssembly with primitive-types support Write Rust code that uses BN use std::str::FromStr; use primitive_types::{H1
A list of known SS58 account types as an enum.
A list of known SS58 account types as an enum.
Intro: we are creating a software system for a pizza restaurant, one of the modules is supposed to handle the management of various pizza recipes and how the orders are put together, and a big part of the module will be the control of food types, the potential allergens in recipes, and calories counting.
rust_pizzeria Intro: we are creating a software system for a pizza restaurant, one of the modules is supposed to handle the management of various pizz
This crate allows you to safely initialize Dynamically Sized Types (DST) using only safe Rust.
This crate allows you to safely initialize Dynamically Sized Types (DST) using only safe Rust.
Traits for inspecting memory usage of Rust types
memuse This crate contains traits for measuring the dynamic memory usage of Rust types. About Memory-tracking is a common activity in large applicatio
Structopt derived ethers-rs types, useful for building Ethereum CLIs
ethers-structopt Provides ethers-compatible Structopt derives, useful for building Ethereum CLIs. Contributing Pull requests are welcome. For major ch
Utilities to gather data out of roms. Written in Rust. It (should) support all types.
snesutilities Utilities to gather data out of roms. Written in Rust. It (should) support all types. How Have a look at main.rs: use snesutilities::Sne
Javascript wrapper bindings for diamond types
Diamond JS wrapper library This is a javascript / WASM wrapper around diamond types. This code is currently experimental WIP. Do not trust this for an
A rust library containing typings and utility functions dealing with the Public specification of the Internet Computer.
IC Types Contributing Please follow the guidelines in the CONTRIBUTING.md document. Goal This library contains typings and utility functions dealing w
Terminal UI implementation and types for the Dark Forest game
dark-forest.rs Terminal UI implementation and types for the Dark Forest game Development We use the standard Rust toolchain cargo check
A framework for iterating over collections of types implementing a trait without virtual dispatch
zero_v Zero_V is an experiment in defining behavior over collections of objects implementing some trait without dynamic polymorphism.
Count your code by tokens, types of syntax tree nodes, and patterns in the syntax tree. A tokei/scc/cloc alternative.
tcount (pronounced "tee-count") Count your code by tokens, types of syntax tree nodes, and patterns in the syntax tree. Quick Start Simply run tcount
A lean, minimal, and stable set of types for color interoperation between crates in Rust.
This library provides a lean, minimal, and stable set of types for color interoperation between crates in Rust. Its goal is to serve the same function that mint provides for (linear algebra) math types.
Rust crate to extend io::Read & io::Write types with progress callbacks
progress-streams Rust crate to provide progress callbacks for types which implement io::Read or io::Write. Examples Reader extern crate progress_strea
Generic array types in Rust
generic-array This crate implements generic array types for Rust. Requires minumum Rust version of 1.36.0, or 1.41.0 for From[T; N] implementations
Array helpers for Rust's Vector and String types
array_tool Array helpers for Rust. Some of the most common methods you would use on Arrays made available on Vectors. Polymorphic implementations for
⚡🦀 🧨 make your rust types fit DynamoDB and visa versa
🦀 🧨 dynomite dynomite makes DynamoDB fit your types (and visa versa) Overview Goals ⚡ make writing dynamodb applications in rust a productive experi