Skip to main content

Crate spicedb_embedded_sys

Crate spicedb_embedded_sys 

Source
Expand description

FFI bindings to the SpiceDB C shared library (built from Go or downloaded per target).

Provides an in-memory server and raw C functions that take in marshalled gRPC requests and return marshalled responses or error strings.

Modules§

memory_transport
Safe, typed wrappers for memory-transport RPCs (marshall/unmarshall in this crate).

Structs§

RpcError
Error from a memory-transport RPC (FFI or decode).

Functions§

dispose
Disposes a SpiceDB instance. Returns the JSON response string (caller may ignore).
start
Starts a SpiceDB instance. Returns the JSON response string (caller parses).

Type Aliases§

RpcResult
Result type for memory-transport RPCs.