matrixraft

(★ 10)

MatrixArk Raft consensus library

File Explorer

  • .gitattributes
  • .gitignore
  • Cargo.lock
  • Cargo.toml
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • deny.toml
  • LICENSE
  • NOTICE
  • README.md
  • rustfmt.toml
  • SECURITY.md
  • THIRD-PARTY-NOTICES.md
  • TRADEMARKS.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

cargo run

View Details ▼

Run the current Cargo package.
Note: The working directory of the executed binary will be set to the current working directory.

cargo {{[r|run]}}

Run the default binary target:

cargo {{[r|run]}} --bin {{name}}

Run the specified binary:

cargo {{[r|run]}} --example {{name}}

Run the specified example:

🔍

cargo test

View Details ▼

Execute the unit and integration tests of a Rust package.

cargo {{[t|test]}} {{test_name}}

Only run tests containing a specific string in their names:

cargo {{[t|test]}} -- --test-threads {{count}}

Set the number of simultaneous running test cases:

cargo {{[t|test]}} {{[-r|--release]}}

Test artifacts in release mode, with optimizations:

🔍

cluster

View Details ▼

Find clusters in a graph and augment the graph with this information.

cluster {{input.gv}}

Generate clusters that optimize modularity and print the result to `stdout`:

cluster -C {{5}} {{input.gv}}

Specify a target number of [C]lusters (approximate) to generate (0 by default, meaning a number that approximately optimizes the modularity):

cluster -c {{0|1}} {{input.gv}}

Use a different [c]lustering method (0: modularity clustering, 1: modularity quality):

🔍

node

View Details ▼

Server-side JavaScript platform (Node.js).

node {{path/to/file}}

Run a JavaScript file:

node

Start a REPL (interactive shell):

node --watch {{path/to/file}}

Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):

🔍

wal

View Details ▼

Create color schemes based on the dominant colors of a wallpaper.

wal --preview {{image.png}}

Preview color scheme:

wal -i {{image.png}}

Create color scheme:

wal -i {{image.png}} -l

Create a light color scheme:

# Project Badges

// repository documentation