-
https://www.zero2prod.com/index.html?country=Austria&discount_code=VAT20 truely awesome!
-
https://www.howtocodeit.com/ really great!
-
https://github.com/sger/RustBooks
- https://rust-unofficial.github.io/patterns/idioms/coercion-arguments.html
- https://www.lurklurk.org/effective-rust/
- https://rustwasm.github.io/docs/book/introduction.html
- https://burn.dev/book/overview.html
- https://www.manning.com/books/rust-design-patterns
- https://nnethercote.github.io/perf-book/introduction.html
-
https://joshlf.com/files/talks/Safety%20in%20an%20Unsafe%20World.pdf
- https://blog.sdf.com/p/fast-development-in-rust-part-one
- https://blog.sdf.com/p/fast-development-in-rust-part-2
- named function arguments https://elastio.github.io/bon/blog/how-to-do-named-function-arguments-in-rust
- multi project build with workspaces https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
- optimize build config https://github.com/Kobzol/cargo-wizard
cargo-watch
withcargo watch -x check
- sort cargo dependencies https://github.com/DevinR528/cargo-sort
- releasese
- https://burgers.io/cross-compile-rust-from-arm-to-x86-64
- https://github.com/rust-cross/cargo-zigbuild
- https://github.com/cross-rs/cross
- https://github.com/messense/homebrew-macos-cross-toolchains
- clux/muslrust#142 (comment)
In the case of MUSL ensure to:
- use an alternative allocator such as mimalloc by patching MSUL
- or directly compile it together (may be simpler for bazel) https://github.com/linkerd/linkerd2/commit/aaa6091ea86eb988e68eda16bdc9b59db9d96076#diff-63a2e5c64764a441fcbc73dc27b1a8e684df057ffd54ad39e66e2a643020eb0d
- https://mmapped.blog/posts/17-scaling-rust-builds-with-bazel
- https://users.rust-lang.org/t/static-linking-for-rust-without-glibc-scratch-image/112279/8
- https://github.com/marvin-hansen/fluvio-examples and https://github.com/deepcausality-rs/deep_causality
- faster linker
- https://gist.github.com/FedericoPonzi/873aea22b652572f5995f23b86543fdb
- https://github.com/f2calv/multi-arch-container-rust
- https://blog.urth.org/2023/03/05/cross-compiling-rust-projects-in-github-actions/
- https://github.com/dirien/rust-cross-compile
- https://www.lurklurk.org/effective-rust/dep-graph.html cargo-udeps/cargo-deny
- sbom
- https://www.lurklurk.org/effective-rust/documentation.html
#![deny(broken_intra_doc_links)]
#![warn(missing_docs)]
cargo doc
- https://github.com/rust-lang/rustfmt
rustup component add rustfmt
,cargo fmt
,cargo fmt -- --check
- clippy https://doc.rust-lang.org/clippy/installation.html
rustup component add clippy
,cargo clippy
,cargo clippy -- -D warnings
- security audit
cargo install cargo-audit
,cargo audit
- https://github.com/EmbarkStudios/cargo-deny
cargo install --locked cargo-deny && cargo deny init && cargo deny check
- semver https://github.com/obi1kenobi/cargo-semver-checks
cargo-udeps
to delete unused dependencies
- https://github.com/la10736/rstest
- https://github.com/rust-lang/miri
- https://github.com/rust-fuzz/cargo-fuzz
- https://github.com/obi1kenobi/cargo-semver-checks
- https://crates.io/crates/criterion
- https://nexte.st/
- coverage
- https://docs.rs/cargo-tarpaulin/latest/cargo_tarpaulin/
cargo install cargo-tarpaulin
cargo tarpaulin --ignore-tests
- https://docs.rs/cargo-tarpaulin/latest/cargo_tarpaulin/
- automatically derive macros i.e. for equality https://rust-exercises.com/04_traits/04_derive
#[derive(PartialEq)]
- https://docs.rs/derive_more/latest/derive_more/
- https://alexis-lozano.com/hexagonal-architecture-in-rust-1/
- project plan for successful rust https://corrode.dev/blog/successful-rust-business-adoption-checklist/
- https://github.com/LukeMathWalker/pavex
- https://actix.rs/
- https://github.com/tokio-rs/axum
- https://github.com/poem-web/poem
- https://leptos.dev/
- https://yew.rs/
- open api doc
- https://github.com/hyperium/tonic and actix/actix-web#2853
(not only rust specific)
- https://owasp.org/www-project-application-security-verification-standard/
- https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html
- authorization
- request validation
- tools https://github.com/osirislab/awesome-rust-security/blob/master/README.md
- errors
- parallelism
- frontend
- Tauri https://tauri.app/ (electron like)
- https://github.com/redbadger/crux
- IO
- language models