algorithm_rust 0.6.0

some common rust_algorithms, Everyone can participate, and the project will continue to be updated, all the algorithms comes from <Introduction to Algorithms III>
Documentation
name: Publish to Cargo

on:
 push:
  branches: [ main ]

jobs:
  publish:
  runs-on: ubuntu-latest

  name: 'publish'

  environment: cargo

  steps:
      - uses: actions/checkout@master

      - name: Cache publish-action bin
  id: cache-publish-action
  uses: actions/cache@v3
  env:
  cache-name: cache-publish-action
  with:
  path: ~/.cargo
  key: ${{ runner.os }}-build-${{ env.cache-name }}
      - name: Install publish-action
  if: steps.cache-publish-action.outputs.cache-hit != 'true'
  run:
  cargo install publish-action
      - name: Run publish-action
  run:
  publish-action
  env:

  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}