This comprehensive guide will walk you through all aspects of using Tnunctipun for type-safe MongoDB operations in Rust.

Table of Contents

  1. Introduction & Motivation - Learn about Tnunctipun’s purpose and benefits
  2. Getting Started - Installation, setup, and your first query
  3. Finding Documents - Building complex queries with filters and projections
  4. Updating Documents - Type-safe update operations
  5. Derive Macros - Automatic trait implementations and customization
  6. Advanced Topics - Performance optimization and advanced patterns

Quick Start

If you’re already familiar with MongoDB and Rust, you can jump straight to the Getting Started guide to start building type-safe queries immediately.

Prerequisites

This guide assumes basic familiarity with:

  • Rust programming language
  • MongoDB concepts (documents, collections, queries)
  • Serde for serialization (helpful but not required)

Let’s get started with understanding why Tnuctipun exists and how it can improve your MongoDB applications.