#cbor #traits #distributed-applications #spin-lock #bloom #thread #delta

nightly mkit

Tools and macros for distributed and peer-to-peer applications

4 releases (breaking)

0.4.0 Mar 10, 2021
0.3.0 Jan 13, 2021
0.2.0 Dec 24, 2020
0.1.0 Dec 5, 2020

#14 in #spin-lock


Used in 2 crates

MIT license

95KB
2.5K SLoC

Documentation

Mkit is a collection of traits, utilities and common useful types required to build distributed, peer-to-peer applications.

  • cbor, Concise Binary Object Representation (CBOR) implementation.
  • thread, a Thread type for multi-threading associated channel types for inter-process-communication.
  • spinlock, for non-blocking read-write locking using atomic load/store/cas.
  • traits for data, Diff.
  • types for db, Entry, Value, Delta, Cutoff.
  • traits for db, BuildIndex, Bloom.
  • xor-filter, implement Bloom trait for xorfilter type.

Contribution

  • Simple workflow. Fork - Modify - Pull request.
  • Before creating a PR,
    • Run make build to confirm all versions of build is passing with 0 warnings and 0 errors.
    • Run check.sh with 0 warnings, 0 errors and all testcases passing.
    • Run perf.sh with 0 warnings, 0 errors and all testcases passing.
    • Install and run cargo spellcheck to remove common spelling mistakes.
  • Developer certificate of origin is preferred.

Dependencies

~2.5MB
~47K SLoC