image: "rust:latest" cargo:version: script: - rustc --version && cargo --version cargo:clippy: before_script: - rustup component add clippy script: - apt install libclang-dev - cargo clippy --no-deps -- -D clippy::all cargo:fmt: before_script: - rustup component add rustfmt script: - cargo fmt --check