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 |
#19 in #spin-lock
39 downloads per month
Used in 2 crates
95KB
2.5K
SLoC
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
- xorfilter by Daniel Lemire.
- Wiki link on spinlock.
- RFC specification for CBOR.
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.
- Run
- Developer certificate of origin is preferred.
Dependencies
~2.5MB
~49K SLoC