Since rust-analyzer
needs full scan each time opening the project, it takes a long time and disk space for saving target
file. Hence, for VsCode user please manually uncomment the sub-project name (willing to be tested), and this setting is in "rust-analyzer.linkedProjects" field which locates in .vscode/settings.json
file.
- holodeck
- actix_web-async_graphql_rbatis
- actix_web-dissel-sqlite
- simple-auth-server
- yew-tutorial
- news
- tonic-example
- solar-system
- docker-simple
- actix-example
- rocket-tutorial
- file-upload-download
- parser-combinators
- mongo-example
- redis-example
- nom-example
- telegram-bot
- mongodb-redis
- yew-getting-started: new version 0.19, official tutorial
- pyo3-example
- procedural-macro-101
- web-wasm-demo
- actix-upload-download
- tonic-web-react
- Procedural macro in rust
- Desktop app using Tauri and Yew
- How Bevy uses Rust traits for labeling
- Actors with Tokio
- Writing a prometheus exporter in rust from idea to grafana chart
- First steps with Rust declarative macros!
- Macros in Rust: A tutorial with examples
- Procedural Macros: A simple derive macro
- 15k inserts/s with Rust and SQLite
- How to deploy Rust on Heroku (with Docker)
- Build a Rust + WebAssembly frontend web app with Yew
- Machine learning in Rust using Linfa
- Untapped potential in Rust's type system
- How to write Full Stack Rust code
- How to use NPM packages with Rust Frontend
- Fullstack Rust with Yew
- Rust on the front-end
- How to start Rust Chat App
- How to use gRPC with Rust Tonic and Postgres database with examples
- A Web App in Rust
- GraphQL in Rust
- Configuration management in Rust web services
- Web services' JSON input validation
- The Algorithms - Rust
- Get started making desktop apps using Rust and React
- MoonZoon Dev News Series
- Calling Rust from Python using PyO3
- nom
- async-graphql
- jsonwebtoken
- rbatis
- rdkafka
- algorithms
- yew
- yewprint
- redis-rs
- bson-rust
- mongo-rust-driver
String conversion:
&str -> String--| String::from(s) or s.to_string() or s.to_owned()
&str -> &[u8]---| s.as_bytes()
&str -> Vec<u8>-| s.as_bytes().to_vec() or s.as_bytes().to_owned()
String -> &str----| &s if possible* else s.as_str()
String -> &[u8]---| s.as_bytes()
String -> Vec<u8>-| s.into_bytes()
&[u8] -> &str----| s.to_vec() or s.to_owned()
&[u8] -> String--| std::str::from_utf8(s).unwrap(), but don't**
&[u8] -> Vec<u8>-| String::from_utf8(s).unwrap(), but don't**
Vec<u8> -> &str----| &s if possible* else s.as_slice()
Vec<u8> -> String--| std::str::from_utf8(&s).unwrap(), but don't**
Vec<u8> -> &[u8]---| String::from_utf8(s).unwrap(), but don't**