docs.rs failed to build gnostr-legit-1906.925289.572444
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
gnostr-legit-0.0.10
Legit 
Legit adds Proof of Work (PoW) to a git commit hash prefix.
install rustup:
curl -sSf https://static.rust-lang.org/rustup.sh | sh
cargo:
cargo install legit
Example
git log | grep "0000006"
commit 000000615b90566ae8559dd45852190edea79a8c
Usage
To create a commit with a subject and a multi-line body, use the -m flag multiple times. The first instance of -m will be the commit subject, and each subsequent instance will be a new line in the commit body.
Command Syntax
Example
This is the command used to successfully create a commit:
This resulted in the following commit message:
fix(legit): improve error handling and argument parsing
Replaced panics with graceful error handling in gnostr-legit.
Improved directory creation logic to prevent errors.
Enabled multi-line commit messages with multiple -m flags.
Important Note
The command-line parser currently has a limitation: body lines cannot begin with a hyphen (-). If a line starts with a hyphen, the parser will mistakenly interpret it as a command-line flag and the command will fail.