Movatterモバイル変換


[0]ホーム

URL:


crjdt

A conflict-free replicated JSON datatype (CRDT) in Scala

View on GitHub

crjdt: a conflict-free replicated JSON datatype in Scala

Build StatuscodecovJoin the chat at https://gitter.im/fthomas/crjdtScaladexScaladoc

This is an implementation of the data structures and algorithms describedin the paperA Conflict-Free Replicated JSON Datatype(PDF) byMartin Kleppmann andAlastair R. Beresford.

The goal of this project is to provide a high-level API to the CRDT describedin the paper that integrates well with other JSON libraries for Scala.

Getting Started

crjdt is currently available for Scala andScala.js,version 2.11 and 2.12.

To get started with sbt, add the following to yourbuild.sbt file:

libraryDependencies ++= Seq(  "eu.timepit" %% "crjdt-core"  % "0.0.7",  "eu.timepit" %% "crjdt-circe" % "0.0.7" // optional)

For Scala.js just replace%% with%%% above.

Instructions for Maven and other build tools are available on theScaladex page.

Contributors and participation

The crjdt project supports theTypelevelcode of conduct and wants all of its channels (Gitter,GitHub, etc.) to be welcoming environments for everyone.

Other implementations

Currently crjdt is the only public implementation of the JSON CRDT describedin thepaper byKleppmann andBeresford. We will listother implementations here as soon as they become available.

If you know an implementation that is not listed here, please submit a PR!

License

Copyright 2016 Frank S. Thomas

crjdt is licensed under theApache License, Version 2.0(the “License”); you may not use this software except in compliance withthe License.

Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an “AS IS” BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.


[8]ページ先頭

©2009-2025 Movatter.jp