LiteAPI.Cache
1.0.0
See the version list below for details.
dotnet add package LiteAPI.Cache --version 1.0.0
NuGet\Install-Package LiteAPI.Cache -Version 1.0.0
<PackageReference Include="LiteAPI.Cache" Version="1.0.0" />
<PackageVersion Include="LiteAPI.Cache" Version="1.0.0" />
<PackageReference Include="LiteAPI.Cache" />
paket add LiteAPI.Cache --version 1.0.0
#r "nuget: LiteAPI.Cache, 1.0.0"
#:package LiteAPI.Cache@1.0.0
#addin nuget:?package=LiteAPI.Cache&version=1.0.0
#tool nuget:?package=LiteAPI.Cache&version=1.0.0
LiteAPI.Cache - JustCache
GC-free, cross-platform in-memory cache for .NET backed by Rust.
JustCache is a high-performance memory cache system built to bypass .NET's garbage collector by leveraging native Rust memory management. Designed for low-latency, high-throughput scenarios where predictability and performance are essential.
๐ Key Features
- โก GC-Free: No garbage collection pressure in .NET
- ๐ง Native performance using Rust under the hood
- ๐ผ Cross-platform: Supports Windows, Linux, and macOS
- ๐ Thread-safe read/write access
- ๐พ Supports strings, byte arrays, and JSON-serializable objects
- ๐งฉ Interop via NativeAOT or P/Invoke
- ๐ก๏ธ Safe memory management without leaks
๐ฆ Installation
Install the NuGet package:
dotnet add package LiteAPI.Cache
๐ง Requires a precompiled native Rust dynamic library. See the documentation or GitHub repository for details.
โ๏ธ Usage
- Initialize the cache at application startup
- Set/Get data by key (supports string, bytes, and object types)
- Remove individual keys or clear all
- Interop with Rust is handled internallyโno manual marshaling needed
๐ง Why JustCache?
- ๐ Ultra-fast native cache access
- โ No impact on .NET GC or memory fragmentation
- ๐งฉ Drop-in utility for microservices, real-time systems, or edge apps
- ๐ Useful for caching config, lookup tables, auth sessions, and more
๐ชช License
MIT License ยฉ 2025 LiteAPI
๐ฌ Feedback
Found a bug or want a feature? Open an issue or PR on GitHub.
๐ ๏ธ Contributing
We welcome contributions! Please see the CONTRIBUTING.md for guidelines.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.