rust

rust

dz / rust

Summary

a general place for rust related things. Put rust things here if they don't have a good home yet.

Subgraphs

Node Tree

Nodes

unsound_zoo
content The Unsound Zoo: examples of shooting yourself in the foot with Rust
hyperlink https://github.com/unsound-zoo/unsound-zoo.github.io
tags rust

turn_off_dead_code_warning
content #[allow(dead_code)]
tags rust

cargo_watch
content Cargo Watch: Watches over your Cargo project’s source
children cargo_watch_command (example command)
remarks Useful way to auto-recompile rust project on any changes
hyperlink https://crates.io/crates/cargo-watch
tags crates, rust

cargo_watch_command
content cargo watch -x build
parents cargo_watch

cpal
content Cross-platform Audio I/O library in pure Rust
children tinyaudio (easier to work with than cpal)
hyperlink https://github.com/RustAudio/cpal
tags rust, audio

organizing_code_project_structure
content organizing code and project structure
remarks trying to set up VoxBox the "right way"
hyperlink https://rust-classes.com/chapter_4_3
tags rust

bringing_paths_into_scope_use
content Bringing Paths into Scope with the use Keyword
hyperlink https://doc.rust-lang.org/book/ch07-04-bringing-paths-into-scope-with-the-use-keyword.html
tags rust

mutex_rust
content mutexes in rust (rust reference)
hyperlink https://doc.rust-lang.org/std/sync/struct.Mutex.html
tags rust, threading

tinyaudio
content rust bindings to tinyaudio
parents cpal
remarks easier to work with than cpal
hyperlink https://docs.rs/tinyaudio/latest/tinyaudio/

checked_mul
content checked_mul()
children wrapping_mul (performs wraparound, needed to prevent panic in my LCG)
hyperlink https://doc.rust-lang.org/std/primitive.u32.html#method.checked_mul
tags rust

wrapping_mul
content wrapping_mul()
parents checked_mul
hyperlink https://doc.rust-lang.org/std/primitive.u32.html#method.wrapping_mul
tags rust

debug_macro
content debug macro (dbg!)
hyperlink https://doc.rust-lang.org/std/macro.dbg.html
tags debug, rust, macro

potential_vcv
content Potential VCV Rack modules: examples of VCV Rack modules written in Rust
remarks Introduced to me by Paolo, who was interested in getting Voxbox into a VCV Rack format.
hyperlink https://github.com/dbonel/potential
tags rust, audio

std_iter
content std::iter
parents codestudy/potential/bipolar_iter
hyperlink https://doc.rust-lang.org/std/iter/
tags rust_std, rust

std_iter_zip
content std::iter::zip
parents codestudy/potential/bipolar_zip
hyperlink https://doc.rust-lang.org/std/iter/fn.zip.html
tags rust, rust_std

std_bufread_lines
content using lines() to read a file line by line
remarks useful when building dagzet in rust
hyperlink https://doc.rust-lang.org/std/io/trait.BufRead.html#method.lines

bitwhip
content bitwhip: low latency screen sharing
hyperlink https://github.com/bitwhip/bitwhip

large_codebases
content How to organize large Rust codebases
hyperlink https://kerkour.com/rust-how-to-organize-large-workspaces

doc_comments
content doc comments in rust (rust by example)
hyperlink https://doc.rust-lang.org/rust-by-example/meta/doc.html

clippy_book
content The Clippy Book
hyperlink https://doc.rust-lang.org/clippy/index.html

phantom_types
content Phantom Types
hyperlink https://doc.rust-lang.org/rust-by-example/generics/phantom.html