LiteAPI.Cache
1.0.1
dotnet add package LiteAPI.Cache --version 1.0.1
NuGet\Install-Package LiteAPI.Cache -Version 1.0.1
<PackageReference Include="LiteAPI.Cache" Version="1.0.1" />
<PackageVersion Include="LiteAPI.Cache" Version="1.0.1" />
<PackageReference Include="LiteAPI.Cache" />
paket add LiteAPI.Cache --version 1.0.1
#r "nuget: LiteAPI.Cache, 1.0.1"
#:package LiteAPI.Cache@1.0.1
#addin nuget:?package=LiteAPI.Cache&version=1.0.1
#tool nuget:?package=LiteAPI.Cache&version=1.0.1
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.
add linux support