language: rust rust: stable before_script: - rustup component add rustfmt-preview script: - cargo fmt --all -- --check - cargo build - cargo test - cargo test --features "serde"