nikitavoloboev / rust

Rust crates and other code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust

Rust crates and other code

Published crates

  • log_macro - Macro to print variable(s) with values nicely (stripped from release builds)

Setup

Bun is used to run things.

Assumes rust with cargo is installed.

Run

bun dev

Runs: cargo watch -q -- sh -c "tput reset && cargo run -q"

I prefer cargo watch -q -- sh -c "tput reset && cargo run -q" over just cargo run as it will rerun rust code on rust file changes and keep output always on top of the terminal.

Test

bun run test

Runs: cargo watch -q -- sh -c "tput reset && cargo test -q"

Publish crates

cargo publish

Contribute

Always open to useful ideas or fixes in form of issues or PRs.

Can open new issue (search existing issues first) or start discussion.

It's okay to submit draft PR as you can get help along the way to make it merge ready.

Join Discord for more indepth discussions on this repo and others.

🖤

Support on GitHub or look into other projects.

Discord X nikiv.dev

About

Rust crates and other code

License:MIT License


Languages

Language:Rust 98.8%Language:TypeScript 1.2%