Weft.Core
1.0.1
Prefix Reserved
dotnet add package Weft.Core --version 1.0.1
NuGet\Install-Package Weft.Core -Version 1.0.1
<PackageReference Include="Weft.Core" Version="1.0.1" />
<PackageVersion Include="Weft.Core" Version="1.0.1" />
<PackageReference Include="Weft.Core" />
paket add Weft.Core --version 1.0.1
#r "nuget: Weft.Core, 1.0.1"
#:package Weft.Core@1.0.1
#addin nuget:?package=Weft.Core&version=1.0.1
#tool nuget:?package=Weft.Core&version=1.0.1
Weft.Core
Safe .NET binding to yrs (the Rust core of Yjs) via an in-house
C-ABI shim, plus the engine abstractions and the concurrency broker the rest of Weft builds on.
Part of Weft — real-time CRDT collaboration and content-addressed document versioning for .NET.
Install
dotnet add package Weft.Core
The native yrs shim ships in the package and is resolved per RID (linux-x64, linux-arm64,
win-x64, osx-arm64) automatically — no manual native setup.
What it provides
ICrdtEngine/ICrdtDoc— create/load documents, text operations, export state / state-vector / delta, apply updates.- Safe native lifecycle —
SafeHandle+ an explicit ownership contract; the GC never touches native memory and no panic crosses the C boundary. - Concurrency (
Weft.Concurrency) —DocumentBroker/DocumentSession, one actor per document for safe concurrent access at scale.ICrdtDocitself is not thread-safe.
Links
- Repository & docs: https://github.com/StrangeDaysTech/weft
- Architecture: https://github.com/StrangeDaysTech/weft/blob/main/docs/architecture.md
- Per-package API overview: https://github.com/StrangeDaysTech/weft/blob/main/docs/api/README.md
Licensed under Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Weft.Core:
| Package | Downloads |
|---|---|
|
Weft.Server
Weft — y-sync WebSocket relay for ASP.NET Core: lib0/y-protocols codec, an authorization hook, and opaque-blob persistence (IDocumentStore). Compatible with Yjs-ecosystem clients. |
|
|
Weft.Versioning
Weft — engine-agnostic content-addressed versioning (publish/checkout/diff/branch/merge) over IBlobStore. Depends only on the Weft.Core abstractions. |
|
|
Weft.Loro
Weft — dual-path adapter over the Loro CRDT engine (via the weft-loro-ffi shim). Exercises the portability of the ICrdtEngine abstraction (constitution P-IV). |
GitHub repositories
This package is not used by any popular GitHub repositories.