RocksDb.Net.Runtimes
11.8.1.2
dotnet add package RocksDb.Net.Runtimes --version 11.8.1.2
NuGet\Install-Package RocksDb.Net.Runtimes -Version 11.8.1.2
<PackageReference Include="RocksDb.Net.Runtimes" Version="11.8.1.2" />
<PackageVersion Include="RocksDb.Net.Runtimes" Version="11.8.1.2" />
<PackageReference Include="RocksDb.Net.Runtimes" />
paket add RocksDb.Net.Runtimes --version 11.8.1.2
#r "nuget: RocksDb.Net.Runtimes, 11.8.1.2"
#:package RocksDb.Net.Runtimes@11.8.1.2
#addin nuget:?package=RocksDb.Net.Runtimes&version=11.8.1.2
#tool nuget:?package=RocksDb.Net.Runtimes&version=11.8.1.2
RocksDb.Net.Runtimes
Native runtime assets for RocksDb.Net.
This package contains platform-specific native libraries required by RocksDB when used from .NET.
All native runtime binaries included in this package are automatically compiled from source using GitHub Actions workflows. This ensures that the binaries for all supported targets—including Windows, Linux (glibc and musl), and macOS across both x64 and ARM64 architectures—are built in a transparent, reproducible, and consistent environment.
Upstream and Attribution
The native librocksdb binaries in this package are based on the upstream RocksDB project maintained by Facebook and contributors:
This package redistributes native RocksDB runtime binaries for use with the .NET package RocksDb.Net. All rights to RocksDB belong to its respective authors and maintainers. This package is an independent distribution focused on .NET runtime asset packaging.
RocksDB is built here with Snappy, zlib, LZ4 and Zstandard support, and those compression libraries ship alongside it, so the package redistributes them too. Every one is built from unmodified upstream sources through vcpkg. Attribution and the full licence text for all five are in THIRD-PARTY-NOTICES.md.
What This Package Is
RocksDb.Net.Runtimes is a runtime-asset NuGet package. It ships native binaries under runtimes/<RID>/native so the .NET runtime can load RocksDB on each supported operating system and architecture.
In most scenarios, you should install RocksDb.Net, which will reference this package for you.
Supported Runtimes
win-x86win-x64win-arm64linux-x64linux-arm64linux-musl-x64linux-musl-arm64osx-x64osx-arm64
Included Native Libraries
Depending on the target runtime, the package includes:
- RocksDB shared library
- lz4
- snappy
- zlib
- zstd
Installation
Install the main managed package (recommended):
dotnet add package RocksDb.Net
Install this package directly only if you need explicit control over native asset packaging:
dotnet add package RocksDb.Net.Runtimes
Usage Notes
- Native assets are resolved by Runtime Identifier (RID).
- For self-contained publishing, set an appropriate RID (for example
win-x64,linux-x64, orosx-arm64). - If a native load error occurs, verify that your published output contains the matching
runtimes/<RID>/nativefolder.
Related Project
- RocksDb.Net: https://github.com/zcsizmadia/RocksDb.Net
- This repository: https://github.com/zcsizmadia/RocksDb.Net.Runtimes
- Facebook RocksDB: https://github.com/facebook/rocksdb
License
The build scripts and packaging in this repository are MIT. See LICENSE.
The native libraries in the package are third-party software and carry their own terms. RocksDB is dual-licensed under the Apache 2.0 Licence and the GPLv2, and the package also ships the Snappy, zlib, LZ4 and Zstandard shared libraries under BSD and zlib terms.
See THIRD-PARTY-NOTICES.md for attribution and the licenses directory for the full text of each. Both are included in the package itself, not just in this repository.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RocksDb.Net.Runtimes:
| Package | Downloads |
|---|---|
|
RocksDb.Net
C# wrapper for the RocksDb embedded key-value store |
GitHub repositories
This package is not used by any popular GitHub repositories.