cantrip 0.1.0

Practical extension methods for standard Rust collections
Documentation
#!/usr/bin/env bash
# Display source code statistics
set -eo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd ${SCRIPT_DIR}/..

echo -e "\n### Files"
echo "* Main: `find  . -name '*.rs' -type f | grep src | wc -l`"
echo "* Test: `find  . -name '*.rs' -type f | grep tests | wc -l`"
echo "* Docs: `(find  . -name '*.md' -type f) | wc -l`"
echo "* Build: `(find . -name '*.toml' -type f) | wc -l`"

echo -e "\n### Lines"
echo "* Main: `find  . -name '*.rs' -type f | grep src | xargs cat | wc -l`"
echo "* Test: `find  . -name '*.rs' -type f | grep tests | xargs cat | wc -l`"
echo "* Docs: `(find  . -name '*.md' -type f) | xargs cat | wc -l`"
echo "* Build: `(find . -name '*.toml' -type f) | xargs cat | wc -l`"
echo