diff --git a/README.md b/README.md index 0928f700..93a2645a 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@

- +     @@ -43,6 +43,22 @@

+

+ +   + +   + +   + +   + +   + +   + +

+

  @@ -51,6 +67,8 @@   +   +

@@ -69,7 +87,6 @@ Discord   StackOverflow -


@@ -95,14 +112,14 @@ View the [features](https://surrealdb.com/features), the latest [releases](https - [Features](#features) - [Documentation](#documentation) +- [Getting started](#getting-started) + - [Server side code](#server-side-code) + - [Client side apps](#client-side-apps) - [Installation](#installation) - [Install on macOS](#install-on-macos) - [Install on Linux](#install-on-linux) - [Install on Windows](#install-on-windows) - [Run using Docker](#run-using-docker) -- [Getting started](#getting-started) - - [Server side code](#server-side-code) - - [Client side apps](#client-side-apps) - [Quick look](#quick-look) - [Why SurrealDB](#why-surrealdb) - [Database, API, and permissions](#database-api-and-permissions) @@ -138,13 +155,53 @@ View the [features](https://surrealdb.com/features), the latest [releases](https For guidance on installation, development, deployment, and administration, see our [documentation](https://surrealdb.com/docs). +

  Getting started

+ +Getting started with SurrealDB is as easy as starting up the SurrealDB database server, choosing your platform, and integrating its SDK into your code. You can easily get started with your platform of choice by reading one of our tutorials. + +##### Server side code + +

+ +   + +   + +   + +   + +   + +   + +   + +   + +   + +

+ +##### Client side apps + +

+ +   + +   + +   + +   + +

+

  Installation

SurrealDB is designed to be simple to install and simple to run - using just one command from your terminal. In addition to traditional installation, SurrealDB can be installed and run with HomeBrew, Docker, or using any other container orchestration tool such as Docker Compose, Docker Swarm, Rancher, or in Kubernetes. -

- Install on macOS -

+

 Install on macOS

The quickest way to get going with SurrealDB on macOS is to use Homebrew. This will install both the command-line tools, and the SurrealDB server as a single executable. If you don't use Homebrew, follow the instructions for Linux below to install SurrealDB. @@ -152,9 +209,13 @@ The quickest way to get going with SurrealDB on macOS is to use Homebrew. This w brew install surrealdb/tap/surreal ``` -

- Install on Linux -

+If you want to test a version with the latest features, published every night, install the `nightly` version: + +```bash +brew install surrealdb/tap/surreal-nightly +``` + +

 Install on Linux

The easiest and preferred way to get going with SurrealDB on Unix operating systems is to install and use the SurrealDB command-line tool. Run the following command in your terminal and follow the on-screen instructions. @@ -162,15 +223,19 @@ The easiest and preferred way to get going with SurrealDB on Unix operating syst curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh ``` -If you want a binary newer than what's currently released, you can install the nightly one. +If you want to run a beta release, before the next version is released, the `beta` version: + +```bash +curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --beta +``` + +If you want to test a version with the latest features, published every night, install the `nightly` version: ```bash curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --nightly ``` -

- Install on Windows -

+

 Install on Windows

The easiest and preferred way to get going with SurrealDB on Windows is to install and use the SurrealDB command-line tool. Run the following command in your terminal and follow the on-screen instructions. @@ -178,9 +243,13 @@ The easiest and preferred way to get going with SurrealDB on Windows is to insta iwr https://windows.surrealdb.com -useb | iex ``` -

- Run using Docker -

+If you want to test a version with the latest features, published every night, install the `nightly` version: + +```ps1 +iex "& { $(irm https://windows.surrealdb.com) } -Nightly" +``` + +

 Run using Docker

Docker can be used to manage and run SurrealDB database instances without the need to install any command-line tools. The SurrealDB docker container contains the full command-line tools for importing and exporting data from a running server, or for running a server itself. @@ -194,43 +263,15 @@ For just getting started with a development server running in memory, you can pa docker run --rm --pull always --name surrealdb -p 8000:8000 surrealdb/surrealdb:latest start --log trace --user root --pass root memory ``` -

  Getting started

- -Getting started with SurrealDB is as easy as starting up the SurrealDB database server, choosing your platform, and integrating its SDK into your code. You can easily get started with your platform of choice by reading one of our tutorials. - -##### Server side code - -- [x] [Getting started with Javascript](https://surrealdb.com/docs/integration/sdks/javascript) -- [x] [Getting started with Node.js](https://surrealdb.com/docs/integration/sdks/nodejs) -- [x] [Getting started with Golang](https://surrealdb.com/docs/integration/sdks/golang) -- [x] [Getting started with Rust](https://surrealdb.com/docs/integration/sdks/rust) -- [x] [Getting started with Deno](https://surrealdb.com/docs/integration/sdks/deno) -- [x] [Getting started with Python](https://surrealdb.com/docs/integration/sdks/python) -- [x] [Getting started with Java](https://surrealdb.com/docs/integration/sdks/java) -- [ ] Getting started with C (coming soon) -- [ ] Getting started with Ruby (coming soon) -- [ ] Getting started with PHP (coming soon) -- [ ] Getting started with Swift (coming soon) -- [ ] Getting started with R (coming soon) - -##### Client side apps - -- [x] [Getting started with Javascript](https://surrealdb.com/docs/integration/sdks/javascript) -- [ ] Getting started with Ember.js (coming soon) -- [ ] Getting started with React.js (coming soon) -- [ ] Getting started with Angular.js (coming soon) -- [ ] Getting started with Vue.js (coming soon) -- [ ] Getting started with Svelte (coming soon) -

  Quick look

With strongly-typed data types, data can be fully modelled right in the database. ```sql UPDATE person SET - waist = "34.59", - height = 201, - score = 0.3 + 0.3 + 0.3 + 0.1 + waist = "34", + height = 201, + score = 0.3 + 0.3 + 0.3 + 0.1 ; ``` @@ -238,8 +279,8 @@ Store dynamically computed fields which are calculated when retrieved. ```sql CREATE person SET - birthday = "2007-06-22", - can_drive = { time::now() > birthday + 18y } + birthday = "2007-06-22", + can_drive = { time::now() > birthday + 18y } ; ``` @@ -260,7 +301,7 @@ DEFINE INDEX email ON TABLE user COLUMNS email UNIQUE; -- Create a new event whenever a user changes their email address DEFINE EVENT email ON TABLE user WHEN $before.email != $after.email THEN ( - CREATE event SET user = $value, time = time::now(), value = $after.email, action = 'email_changed' + CREATE event SET user = $value, time = time::now(), value = $after.email, action = 'email_changed' ); ``` @@ -269,18 +310,17 @@ Connect records together with fully directed graph edge connections. ```sql -- Add a graph edge between user:tobie and article:surreal RELATE user:tobie->write->article:surreal - SET time.written = time::now() + SET time.written = time::now() ; -- Add a graph edge between specific users and developers LET $from = (SELECT users FROM company:surrealdb); LET $devs = (SELECT * FROM user WHERE tags CONTAINS 'developer'); RELATE $from->like->$devs UNIQUE - SET time.connected = time::now() + SET time.connected = time::now() ; ``` - Query data flexibly with advanced expressions and graph queries. ```sql @@ -304,15 +344,15 @@ Store GeoJSON geographical data types, including points, lines and polygons. ```sql UPDATE city:london SET - centre = (-0.118092, 51.509865), - boundary = { - type: "Polygon", - coordinates: [[ - [-0.38314819, 51.37692386], [0.1785278, 51.37692386], - [0.1785278, 51.61460570], [-0.38314819, 51.61460570], - [-0.38314819, 51.37692386] - ]] - } + centre = (-0.118092, 51.509865), + boundary = { + type: "Polygon", + coordinates: [[ + [-0.38314819, 51.37692386], [0.1785278, 51.37692386], + [0.1785278, 51.61460570], [-0.38314819, 51.61460570], + [-0.38314819, 51.37692386] + ]] + } ; ``` @@ -320,17 +360,17 @@ Write custom embedded logic using JavaScript functions. ```sql CREATE film SET - ratings = [ - { rating: 6, user: user:bt8e39uh1ouhfm8ko8s0 }, - { rating: 8, user: user:bsilfhu88j04rgs0ga70 }, - ], - featured = function() { - return this.ratings.filter(r => { - return r.rating >= 7; - }).map(r => { - return { ...r, rating: r.rating * 10 }; - }); - } + ratings = [ + { rating: 6, user: user:bt8e39uh1ouhfm8ko8s0 }, + { rating: 8, user: user:bsilfhu88j04rgs0ga70 }, + ], + featured = function() { + return this.ratings.filter(r => { + return r.rating >= 7; + }).map(r => { + return { ...r, rating: r.rating * 10 }; + }); + } ; ``` @@ -339,85 +379,90 @@ Specify granular access permissions for client and application access. ```sql -- Specify access permissions for the 'post' table DEFINE TABLE post SCHEMALESS - PERMISSIONS - FOR select - -- Published posts can be selected - WHERE published = true - -- A user can select all their own posts - OR user = $auth.id - FOR create, update - -- A user can create or update their own posts - WHERE user = $auth.id - FOR delete - -- A user can delete their own posts - WHERE user = $auth.id - -- Or an admin can delete any posts - OR $auth.admin = true + PERMISSIONS + FOR select + -- Published posts can be selected + WHERE published = true + -- A user can select all their own posts + OR user = $auth.id + FOR create, update + -- A user can create or update their own posts + WHERE user = $auth.id + FOR delete + -- A user can delete their own posts + WHERE user = $auth.id + -- Or an admin can delete any posts + OR $auth.admin = true ; ```

  Why SurrealDB?

-#### Database, API, and permissions +

+ + +

+ +### Database, API, and permissions SurrealDB combines the database layer, the querying layer, and the API and authentication layer into one platform. Advanced table-based and row-based customisable access permissions allow for granular data access patterns for different types of users. There's no need for custom backend code and security rules with complicated database development. -![Database, API, and permissions](/img/illustrations/database-api-security.jpg) - -#### Tables, documents, and graph +### Tables, documents, and graph As a multi-model database, SurrealDB enables developers to use multiple techniques to store and model data, without having to choose a method in advance. With the use of tables, SurrealDB has similarities with relational databases, but with the added functionality and flexibility of advanced nested fields and arrays. Inter-document record links allow for simple to understand and highly-performant related queries without the use of JOINs, eliminating the N+1 query problem. -![Tables, documents, and graph](/img/illustrations/multimodel-database.jpg) +

+ + +

-#### Advanced inter-document relations and analysis. No JOINs. No pain. +### Advanced inter-document relations and analysis. No JOINs. No pain. With full graph database functionality SurrealDB enables more advanced querying and analysis. Records (or vertices) can be connected to one another with edges, each with its own record properties and metadata. Simple extensions to traditional SQL queries allow for multi-table, multi-depth document retrieval, efficiently in the database, without the use of complicated JOINs and without bringing the data down to the client. -![Advanced inter-document relations](/img/illustrations/graph-database.jpg) - -#### Simple schema definition for frontend and backend development +### Simple schema definition for frontend and backend development With SurrealDB, specify your database and API schema in one place, and define column rules and constraints just once. Once a schema is defined, database access is automatically granted to the relevant users. No more custom API code, and no more GraphQL integration. Simple, flexible, and ready for production in minutes not months. -![Simple schema definition](/img/illustrations/schema-direct-to-client.jpg) +

+ + +

-#### Connect and query directly from web-browsers and client devices +### Connect and query directly from web-browsers and client devices Connect directly to SurrealDB from any end-user client device. Run SurrealQL queries directly within web-browsers, ensuring that users can only view or modify the data that they are allowed to access. Highly-performant WebSocket connections allow for efficient bi-directional queries, responses and notifications. -![Connect directly from web-browsers](/img/illustrations/browser-sync.jpg) - -#### Query the database with the tools you want +### Query the database with the tools you want Your data, your choice. SurrealDB is designed to be flexible to use, with support for SurrealQL, GraphQL (coming soon), CRUD support over REST, and JSON-RPC querying and modification over WebSockets. With direct-to-client connection with in-built permissions, SurrealDB speeds up the development process, and fits in seamlessly into any tech stack. -![Multiple different query methods](/img/illustrations/multiple-integrations.jpg) +

+ + +

-#### Realtime live queries and data changes direct to application +### Realtime live queries and data changes direct to application SurrealDB keeps every client device in-sync with data modifications pushed in realtime to the clients, applications, end-user devices, and server-side libraries. Live SQL queries allow for advanced filtering of the changes to which a client subscribes, and efficient data formats, including DIFFing and PATCHing enable highly-performant web-based data syncing. -![Realtime live queries and data changes](/img/illustrations/realtime-live-queries.jpg) - -#### Scale effortlessly to hundreds of nodes for high-availability and scalability +### Scale effortlessly to hundreds of nodes for high-availability and scalability SurrealDB can be run as a single in-memory node, or as part of a distributed cluster - offering highly-available and highly-scalable system characteristics. Designed from the ground up to run in a distributed environment, SurrealDB makes use of special techniques when handling multi-table transactions, and document record IDs - with no use of table or row locks. -![Scale effortlessly for high-availability](/img/illustrations/scale-up.jpg) +

+ + +

-#### Extend your database with JavaScript functions +### Extend your database with JavaScript functions Embedded JavaScript functions allow for advanced, custom functionality, with computation logic being moved to the data layer. This improves upon the traditional approach of moving data to the client devices before applying any computation logic, ensuring that only the necessary data is transferred remotely. These advanced JavaScript functions, with support for the ES2020 standard, allow any developer to analyse the data in ever more simple-yet-advanced ways. -![Extend your database with JavaScript](/img/illustrations/database-plugins.jpg) - -#### Designed to be embedded or to run distributed in the cloud +### Designed to be embedded or to run distributed in the cloud Built entirely in Rust as a single library, SurrealDB is designed to be used as both an embedded database library with advanced querying functionality, and as a database server which can operate in a distributed cluster. With low memory usage and cpu requirements, the system requirements have been specifically thought through for running in all types of environment. -![Designed to be embedded or in the cloud](/img/illustrations/cloud-or-embedded.jpg) -

  Community

Join our growing community around the world, for help, ideas, and discussions regarding SurrealDB. diff --git a/img/white/apple.svg b/img/apple.svg similarity index 90% rename from img/white/apple.svg rename to img/apple.svg index ebf3e908..44d637b6 100644 --- a/img/white/apple.svg +++ b/img/apple.svg @@ -1,9 +1,9 @@ - + - - - - diff --git a/img/black/docker.svg b/img/black/docker.svg deleted file mode 100644 index 6f34299e..00000000 --- a/img/black/docker.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/img/black/linux.svg b/img/black/linux.svg deleted file mode 100644 index 316c0938..00000000 --- a/img/black/linux.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/img/black/logo.svg b/img/black/logo.svg index ee6ebe9d..e7d99d80 100644 --- a/img/black/logo.svg +++ b/img/black/logo.svg @@ -1,50 +1,53 @@ - + - + - - - - - + + + + + - - - - + + + - + diff --git a/img/black/text.svg b/img/black/text.svg index a2fc8066..db19f128 100644 --- a/img/black/text.svg +++ b/img/black/text.svg @@ -1,36 +1,40 @@ - + - + - - - - - - - - + + + + + + + + diff --git a/img/black/windows.svg b/img/black/windows.svg deleted file mode 100644 index cd09af57..00000000 --- a/img/black/windows.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/img/cloud.svg b/img/cloud.svg index 701f866a..901dd376 100644 --- a/img/cloud.svg +++ b/img/cloud.svg @@ -1,23 +1,3 @@ - - - - - - - - - - - - - - - - - + + diff --git a/img/community.svg b/img/community.svg index 4b81068b..64c7e5c6 100644 --- a/img/community.svg +++ b/img/community.svg @@ -1,14 +1,3 @@ - - - - - - - - - + + diff --git a/img/contents.svg b/img/contents.svg index 80262a79..25d86e79 100644 --- a/img/contents.svg +++ b/img/contents.svg @@ -1,20 +1,8 @@ - - - - - - - - - + + + + + + + diff --git a/img/contributing.svg b/img/contributing.svg index 284f4dbe..20cd09b0 100644 --- a/img/contributing.svg +++ b/img/contributing.svg @@ -1,25 +1,10 @@ - - - - - - - - - - - - - - - - - + + + + + + + + diff --git a/img/white/docker.svg b/img/docker.svg similarity index 92% rename from img/white/docker.svg rename to img/docker.svg index 2c2212ec..920ce21a 100644 --- a/img/white/docker.svg +++ b/img/docker.svg @@ -1,9 +1,9 @@ - + - - - - - - - - - - - - - - - - + + diff --git a/img/features.svg b/img/features.svg index 06b755b7..e000eb31 100644 --- a/img/features.svg +++ b/img/features.svg @@ -1,21 +1,8 @@ - - - - - - - - - + + + + + + + diff --git a/img/gettingstarted.svg b/img/gettingstarted.svg index c732073d..64353a5a 100644 --- a/img/gettingstarted.svg +++ b/img/gettingstarted.svg @@ -1,22 +1,3 @@ - - - - - - - - - - - - - - - - - + + diff --git a/img/illustrations/browser-sync.jpg b/img/illustrations/browser-sync.jpg index 5e5ed2de..e04dc7b9 100644 Binary files a/img/illustrations/browser-sync.jpg and b/img/illustrations/browser-sync.jpg differ diff --git a/img/illustrations/cloud-or-embedded.jpg b/img/illustrations/cloud-or-embedded.jpg index 8f1bda29..f735f3af 100644 Binary files a/img/illustrations/cloud-or-embedded.jpg and b/img/illustrations/cloud-or-embedded.jpg differ diff --git a/img/illustrations/database-api-security.jpg b/img/illustrations/database-api-security.jpg index f2bb72c1..29572923 100644 Binary files a/img/illustrations/database-api-security.jpg and b/img/illustrations/database-api-security.jpg differ diff --git a/img/illustrations/database-plugins.jpg b/img/illustrations/database-plugins.jpg index b1bc951a..e00d3c69 100644 Binary files a/img/illustrations/database-plugins.jpg and b/img/illustrations/database-plugins.jpg differ diff --git a/img/illustrations/graph-database.jpg b/img/illustrations/graph-database.jpg index 78cfc7e8..858949a4 100644 Binary files a/img/illustrations/graph-database.jpg and b/img/illustrations/graph-database.jpg differ diff --git a/img/illustrations/highly-available-and-scalable.jpg b/img/illustrations/highly-available-and-scalable.jpg index 5b524d2b..2baed390 100644 Binary files a/img/illustrations/highly-available-and-scalable.jpg and b/img/illustrations/highly-available-and-scalable.jpg differ diff --git a/img/illustrations/multimodel-database.jpg b/img/illustrations/multimodel-database.jpg index f2c4227f..0104b74f 100644 Binary files a/img/illustrations/multimodel-database.jpg and b/img/illustrations/multimodel-database.jpg differ diff --git a/img/illustrations/multiple-integrations.jpg b/img/illustrations/multiple-integrations.jpg index 754928ed..5aa8ed35 100644 Binary files a/img/illustrations/multiple-integrations.jpg and b/img/illustrations/multiple-integrations.jpg differ diff --git a/img/illustrations/realtime-live-queries.jpg b/img/illustrations/realtime-live-queries.jpg index 7c165ebd..254b53d1 100644 Binary files a/img/illustrations/realtime-live-queries.jpg and b/img/illustrations/realtime-live-queries.jpg differ diff --git a/img/illustrations/scale-up.jpg b/img/illustrations/scale-up.jpg index 59175216..a3f1c39c 100644 Binary files a/img/illustrations/scale-up.jpg and b/img/illustrations/scale-up.jpg differ diff --git a/img/illustrations/schema-direct-to-client.jpg b/img/illustrations/schema-direct-to-client.jpg index 3920d4eb..2428c34e 100644 Binary files a/img/illustrations/schema-direct-to-client.jpg and b/img/illustrations/schema-direct-to-client.jpg differ diff --git a/img/installation.svg b/img/installation.svg index cfb853b0..5c976ea0 100644 --- a/img/installation.svg +++ b/img/installation.svg @@ -1,23 +1,3 @@ - - - - - - - - - - - - - - - - - + + diff --git a/img/interface.png b/img/interface.png index 77388a20..8de68d93 100644 Binary files a/img/interface.png and b/img/interface.png differ diff --git a/img/license.svg b/img/license.svg index ebae4f3b..a70d2be0 100644 --- a/img/license.svg +++ b/img/license.svg @@ -1,23 +1,3 @@ - - - - - - - - - - - - - - - - - + + diff --git a/img/white/linux.svg b/img/linux.svg similarity index 98% rename from img/white/linux.svg rename to img/linux.svg index ad669db7..17846bc4 100644 --- a/img/white/linux.svg +++ b/img/linux.svg @@ -1,9 +1,9 @@ - + - + - + - - - - - + + + + + - - - - + + + - + diff --git a/img/love.svg b/img/love.svg index e4fc984b..64c7e5c6 100644 --- a/img/love.svg +++ b/img/love.svg @@ -1,17 +1,3 @@ - - - - - - - - - - + + diff --git a/img/security.svg b/img/security.svg index 9080151c..6fd90283 100644 --- a/img/security.svg +++ b/img/security.svg @@ -1,25 +1,3 @@ - - - - - - - - - - - - - - - - - + + diff --git a/img/structure.png b/img/structure.png deleted file mode 100644 index 740e8258..00000000 Binary files a/img/structure.png and /dev/null differ diff --git a/img/tick.svg b/img/tick.svg index 6fde1c4f..48b1fb1f 100644 --- a/img/tick.svg +++ b/img/tick.svg @@ -1,15 +1,3 @@ - - - - - - - - - - + + diff --git a/img/white/windows.svg b/img/windows.svg similarity index 87% rename from img/white/windows.svg rename to img/windows.svg index 043365c5..1ba0e753 100644 --- a/img/white/windows.svg +++ b/img/windows.svg @@ -1,9 +1,9 @@ - + diff --git a/lib/CARGO.md b/lib/CARGO.md index e5a8c129..8ae5901c 100644 --- a/lib/CARGO.md +++ b/lib/CARGO.md @@ -78,7 +78,7 @@ For guidance on installation, development, deployment, and administration, see o SurrealDB is designed to be simple to install and simple to run - using just one command from your terminal. In addition to traditional installation, SurrealDB can be installed and run with HomeBrew, Docker, or using any other container orchestration tool such as Docker Compose, Docker Swarm, Rancher, or in Kubernetes.

- +   Install on macOS

@@ -89,7 +89,7 @@ brew install surrealdb/tap/surreal ```

- +   Install on Linux

@@ -100,7 +100,7 @@ curl -sSf https://install.surrealdb.com | sh ```

- +   Install on Windows

@@ -111,7 +111,7 @@ iwr https://install.surrealdb.com -useb | iex ```

- +   Run using Docker

diff --git a/lib/README.md b/lib/README.md index aae3cd4b..d20068cb 100644 --- a/lib/README.md +++ b/lib/README.md @@ -1,14 +1,46 @@ +
+ +

+ +   + +

+ +

The official SurrealDB SDK for Rust.

+ +
+ +

+ +   + +   + +   + +   + +

+ +

+ +   + +   + +   + +

+ # surrealdb -The official SurrealDB library for Rust. - -[![](https://img.shields.io/badge/status-beta-ff00bb.svg?style=flat-square)](https://github.com/surrealdb/surrealdb) [![](https://img.shields.io/badge/docs-view-44cc11.svg?style=flat-square)](https://surrealdb.com/docs/integration/libraries/rust) [![](https://img.shields.io/badge/license-Apache_License_2.0-00bfff.svg?style=flat-square)](https://github.com/surrealdb/surrealdb) +The official SurrealDB SDK for Rust.

  What is SurrealDB?

SurrealDB is an end-to-end cloud native database for web, mobile, serverless, jamstack, backend, and traditional applications. SurrealDB reduces the development time of modern applications by simplifying your database and API stack, removing the need for most server-side components, allowing you to build secure, performant apps quicker and cheaper. SurrealDB acts as both a database and a modern, realtime, collaborative API backend layer. SurrealDB can run as a single server or in a highly-available, highly-scalable distributed mode - with support for SQL querying from client devices, GraphQL, ACID transactions, WebSocket connections, structured and unstructured data, graph querying, full-text indexing, geospatial querying, and row-by-row permissions-based access. -View the [features](https://surrealdb.com/features), the latest [releases](https://surrealdb.com/releases), the product [roadmap](https://surrealdb.com/roadmap), and [documentation](https://surrealdb.com/docs). +View the [features](https://surrealdb.com/features), the latest [releases](https://surrealdb.com/releases), and [documentation](https://surrealdb.com/docs).

  Features

@@ -24,7 +56,12 @@ View the [features](https://surrealdb.com/features), the latest [releases](https - [x] Asynchronous, lock-free connections - [x] TLS support via either [`rustls`](https://crates.io/crates/rustls) or [`native-tls`](https://crates.io/crates/native-tls) -

  Installation

+

  Documentation

+ + +View the SDK documentation [here](https://surrealdb.com/docs/integration/libraries/rust). + +

  How to install

To add this crate as a Rust dependency, simply run