version: 2 jobs: build: docker: - image: rust:latest steps: - checkout - run: cargo build - run: cargo test --release - run: cargo doc