structiagram 0.1.3

Structiagram is a tool to generate Rust struct relation diagram as mermaid.js format.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Cache cargo
description: cache .cargo directory
runs:
  using: composite
  steps:
    # https://github.com/actions/cache/blob/main/examples.md#rust---cargo
    - name: Cache cargo files
      uses: actions/cache@v3
      with:
        path: |
          ~/.cargo/bin/
          ~/.cargo/registry/index/
          ~/.cargo/registry/cache/
          ~/.cargo/git/db/
          target/
        key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
        restore-keys: | 
          ${{ runner.os }}-cargo-