qmetrics.net

MongoDB Rust Driver

Official async MongoDB client for Rust

Libraries & SDKsDesktop/CLI app
MongoDB Rust Driver screenshot

The MongoDB Rust driver is a client library for Rust apps, with async tokio APIs, optional sync API, and BSON via the bson crate. Published on crates.io.

Overview

The MongoDB Rust driver is the officially supported client-side library for Rust programs that interact with MongoDB deployments. It uses the bson crate for BSON and exposes a fully async API that requires tokio. A blocking sync API can be enabled through Cargo feature flags, with types under mongodb::sync.

Documentation covers installation via Cargo.toml, connections, databases and collections, CRUD, aggregation, BSON and Rust type conversion, indexes, MongoDB Search, MongoDB Vector Search, monitoring, logging, security, compatibility, and operation error handling. Example integrations are described for Actix, Axum, and Rocket.

Cargo features add DNS resolution for mongodb+srv URIs, AWS authentication, zstd and snappy compression, client-side field level encryption, SOCKS5 proxy support, and other optional behavior. The driver follows semantic versioning; users on older major lines are directed to migration notes when upgrading.

CI exercises the driver on Linux, macOS, and Windows. Guidance warns that dropping driver futures early for timeouts can leave internal state inconsistent and recommends polling driver futures to completion or timing out JoinHandle tasks instead.

Key features

  • Async API with tokio
  • Optional sync API feature
  • BSON crate integration
  • CRUD and aggregation
  • mongodb+srv DNS resolution
  • Snappy and zstd compression features
  • Client-side field level encryption
  • Web framework examples

Use cases

  • Rust services using MongoDB
  • Actix or Axum apps with shared Client
  • Blocking code paths via sync feature
  • Encrypted or compressed MongoDB traffic
  • Search queries from Rust

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
AI Assisted CodingDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Libraries & SDKsDesktop/CLI app

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

★ 198.7k⟳ 21 days agoMIT
Libraries & SDKsDesktop/CLI app

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app