Skip to main content

Crate dynoxide

Crate dynoxide 

Source
Expand description

§Dynoxide

An embeddable DynamoDB emulator backed by SQLite.

use dynoxide::Database;

let db = Database::memory().unwrap();

Re-exports§

pub use errors::DynoxideError;
pub use errors::Result;
pub use storage::DatabaseInfo;
pub use storage::TableInfoEntry;
pub use storage::TableMetadata;
pub use storage::TableStats;
pub use storage_backend::BackendError;
pub use types::AttributeValue;
pub use types::ConversionError;
pub use types::Item;

Modules§

actions
auth_material
Transport-neutral validation of AWS authentication material.
bench_counters
Counters for work the engine repeats, compiled out unless asked for.
errors
import
Import CLI for DynamoDB Export data.
mcp
MCP (Model Context Protocol) server for Dynoxide.
schema
Application-level data model definitions for MCP agent context.
server
Axum-based HTTP server exposing the DynamoDB JSON API.
storage
storage_backend
Storage backend abstraction.
streams
DynamoDB Streams support.
ttl
TTL (Time to Live) support.
types
validation

Macros§

item
Construct a HashMap<String, AttributeValue> from key-value pairs.

Structs§

Database
The main entry point for the DynamoDB emulator.
ImportOptions
Options for Database::import_items().
ImportResult
Result of a bulk import operation.
ServerOptions
Options controlling the output of the DynamoDB HTTP server (server::start_with_options) and the MCP HTTP transport (mcp::serve_http_with_options).
TokenCaches
The transactional idempotency caches one engine instance owns.

Constants§

PRODUCT_VERSION
The product version: what dynoxide --version, the HTTP headers and the MCP server report, and what the CLI, containers, browser engine and npm packages are released under.
WASM_BACKEND
Build-visible discriminator for the wasm-sqlite backend. See the wasm-sqlite variant for details.

Type Aliases§

NativeDatabase
The native, synchronous Database.
RusqliteBackend
The native storage backend: the rusqlite-backed storage::Storage.