pack.rust - jgrey4296/jgrey4296.github.io GitHub Wiki

Rust Package Reference

Reference

Triage

Bindgen

xan

maturin

Best Practices

  • https://towardsdatascience.com/nine-rules-for-writing-python-extensions-in-rust-d35ea3a4ec29
  • Create a single repository containing both Rust and Python projects
  • Use maturin & PyO3 to create Python-callable translator functions in Rust
  • Have the Rust translator functions call “nice” Rust functions
  • Preallocate memory in Python
  • Translate nice Rust error handling into nice Python error handling
  • Multithread with Rayon and ndarray::parallel, returning any errors
  • Allow users to control the number of parallel threads
  • Translate nice dynamically-type Python functions into nice Rust generic functions
  • Create both Rust and Python tests

cargo-flamegraph

the little book of rust macros

100 exercises to learn rust

nom

dotenvy

mdbook

Stdlib

alloc

any

arch

array

ascii

backtrace

borrow

boxed

cell

char

clone

cmp

collections

convert

default

env

error

f32

f64

ffi

fmt

fs

future

hash

hint

io

iter

marker

mem

net

num

ops

option

os

panic

path

pin

prelude

primitive

process

ptr

rc

result

slice

str

string

sync

task

thread

time

vec

RustDoc

Cargo

Cargo Crates

Logging

Documentation

Utils

changelogs

Data Structs

Parsing

CLI

- HTTP

Sync

Graphical

FFI

Dev Tools

iced

Emacs

Python

just

Links

⚠️ **GitHub.com Fallback** ⚠️