Skip to content

Pulsy-Global/slatedb-dotnet

Repository files navigation

SlateDB .NET

.NET bindings for SlateDB, an embedded key-value store on object storage.

NuGet License

dotnet add package Pulsy.SlateDB

Usage

using var db = SlateDb.Builder("my-db", new ObjectStoreConfig
    {
        Bucket   = "my-bucket",
        Region   = "us-east-1",
        Endpoint = "http://localhost:9000",
    })
    .Build();

db.Put("deck", "steam");
db.GetString("deck");        // "steam"
db.Get<int>("score");        // null
db.Delete("deck");

See example project for full API.

Building from Source

Prerequisites: .NET 9 SDK, Rust nightly, cross-platform: zig + cargo-zigbuild

./build-native.sh        # current platform
./build-native.sh --all  # all 6 platforms

dotnet build Pulsy.SlateDB/Pulsy.SlateDB.csproj
dotnet test

Versioning

Tracks slatedb-c. 4th segment is for binding-only changes.

License

Apache-2.0

About

.NET bindings for SlateDB, an embedded key-value store on object storage.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors