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.
- xorfilter by Daniel Lemire.
- Wiki link on spinlock.
- RFC specification for CBOR.
- 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.
- Run
- Developer certificate of origin is preferred.