name: zola # you probably want to 'snapcraft register <name>'
version: '0.5.0+git' # just for humans, typically '1.2+git' or '1.3.2'
summary: A fast static site generator in a single binary with everything built-in.
description: |
  A fast static site generator in a single binary with everything built-in.
  https://www.getzola.org

grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots

apps:
  zola:
    command: zola
    plugs:
      - home
      - network
      - network-bind

parts:
  zola:
    plugin: rust
    rust-channel: stable
    build-packages:
    - build-essential
    - cmake
    - libssl-dev
    - pkg-config
