#key-value-store #embedded-database

surrealdb-server

A scalable, distributed, collaborative, document-graph database, for the realtime web

8 releases

Uses new Rust 2024

new 3.0.0-beta.4 Feb 10, 2026
3.0.0-beta.3 Feb 5, 2026
3.0.0-beta.2 Jan 16, 2026
3.0.0-beta.1 Dec 17, 2025
3.0.0-alpha.16 Nov 24, 2025

#30 in #kv-store

Custom license

6MB
174K SLoC

Library entrypoints for embedding SurrealDB server inside another Rust application. Exposes the same init() used by the surreal binary so external apps can start SurrealDB within their own main().


SurrealDB Server

The server implementation crate for SurrealDB, containing HTTP/WebSocket server functionality, CLI tooling, and server-specific features. This crate should not be used outside of SurrealDB itself. For a stable interface to the SurrealDB library see the Rust SDK

surrealdb-server is the server-side component of SurrealDB that provides:

  • HTTP and WebSocket server endpoints for database operations
  • Command-line interface (CLI) for managing and running SurrealDB instances
  • Network layer including authentication, routing, and middleware
  • Server utilities for configuration, logging, and monitoring
  • Integration layer between the core database engine and external interfaces

Dependencies

~172MB
~3.5M SLoC