Rust
Em destaque
All Rust Content
- Mais recente
- Mais bem avaliado
Início rápido
Introdução a pipelines de agregação em Rust
Consulte, agrupe e una dados no MongoDB usando aggregation pipelines com Rust.Oct 01, 2024
Tutorial
Red Mosquitto: Implemente um sensor de ruído com um cliente MQTT em um ESP32
Aprenda a escrever software de um sensor de ruído com uma SPA32 a partir do zero usando Rust. Usamos o termopar para informar ao usuário sobre o status do dispositivo.Sep 17, 2024
exemplo de código
APLICATIVO COMPLETO
Projeto de programação para novatos: criar um mecanismo de blog com Rust e MongoDB
Confira este exemplo rápido e fácil de projeto de aplicativo que cria um mecanismo de demonstração de postagem no blog. É ideal para novatos na linguagem de programação Rust.Sep 11, 2024
Artigo
Usando MongoDB com Rust Web Development Framework
Which Rust frameworks work best with MongoDB? Learn how to use Actix or Rocket.rs Rust frameworks with MongoDB.Aug 29, 2024
Tutorial
Escrevendo uma API com MongoDB no Rust
A tutorial on how to write a REST API using Rust and Rocket and the MongoDB driver.Jun 10, 2024
Artigo
Estruturando dados com Serde em Rust
New upgrades in the Rust MongoDB driver and BSON library improve integration with Serde.Apr 23, 2024
Artigo
MongoDB Field Level Encryption is now Available for Rust applications
MongoDB now support field level encryption for Rust applicationsJun 09, 2023
Artigo
Como o Prisma analisa um esquema de um banco de dados MongoDB
In this blog, you’ll learn about Prisma and how we interact with MongoDB, plus the next steps after having a schema.Jun 09, 2023
Início rápido
Introdução ao Rust e MongoDB
Learn how to perform CRUD operations using Rust for MongoDB databases.Jun 09, 2023
(+1)
Vídeo
Everything You Wanted to Know About Rust Unit Testing (and then some more)
✅ Sign-up for a free cluster at: https://mdb.link/free-_jDKeOtOiEo ✅ Get help on our Community Forums: https://mdb.link/community-_jDKeOtOiEo Learn how to write unit tests in Rust with this hands-on video that covers these five topics with examples and real code: - The basic types of unit tests - The quality of the testing code - Testing the not-so-happy-path - Testing asynchronous code - Testing tools You can find the code used and produced in this video in the following repo: https://trymongodb.com/3W6npjj Connect with Jorge: Twitter: https://twitter.com/jdortiz Mastodon: https://fosstodon.org/@jdortiz LinkedIn: https://www.linkedin.com/in/jorgeortiz/ ⏱️ Timestamps ⏱️ 00:00:00 - Intro 00:01:25 - Basic concepts 00:04:43 - Project creation 00:08:38 - Tests module 00:10:24 - Rust snippets for tests 00:14:21 - First unit test return value 00:24:03 - Second unit test state 00:28:46 - Alternative implementation tested 00:32:44 - Third unit test interaction 00:46:50 - Recommended implementation 00:49:09 - Test code quality 00:49:34 - Use constants for literals 00:54:18 - Reduce repetition with setup and teardown 01:08:57 - Share code among test modules 01:13:05 - Why testing the not so happy path 01:13:32 - Test panics 01:18:03 - Use ignore and test results 01:28:02 - Bubble up errors in tests 01:30:34 - Asynchronous code in Rust 01:31:01 - Async tests 01:38:19 - Beyond cargo test 01:38:46 - rustdoc and doc-tests 01:48:00 - Show test output 01:49:33 - Selecting tests 01:55:55 - Test coverage 02:01:08 - Nextest 02:05:54 - Outro — Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #rust #rustunittestingJan 17, 2023