mkit 0.4.0

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

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.

Useful links

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.