message: caching recommended directorys per cargo book
diff: @@ -24,6 +24,7 @@ __buildenv: &buildenv
  CARGO_HOME: ".cargo"
  # Anchor for cache plugin
  +# Caching based on https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
  __cache: &cache
  image: drillster/drone-volume-cache
  volumes:
  @@ -31,8 +32,10 @@ __cache: &cache
  path: /cache
  settings:
  mount:
  - - ./target
  - - ./.cargo
  + - ./.cargo/bin/
  + - ./.cargo/registry/index/
  + - ./.cargo/registry/cache/
  + - ./.cargo/git/db/
  kind: pipeline
  name: cargo
  @@ -110,8 +113,10 @@ steps:
  path: /cache
  settings:
  mount:
  - - ./target
  - - ./.cargo
  + - ./.cargo/bin/
  + - ./.cargo/registry/index/
  + - ./.cargo/registry/cache/
  + - ./.cargo/git/db/
  restore: true
  - name: build-release-tag
  