rust-playground/.pre-commit-config.yaml
Matteo Settenvini 6dc58f998c Example gRPC broadcaster
This is an example gRPC broadcaster written with Tonic.
It takes a stream of messages, and echoes that back to
all known subscribers.
2023-05-01 23:25:22 +02:00

21 lines
536 B
YAML

# SPDX-FileCopyrightText: 2023 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
# SPDX-License-Identifier: CC0-1.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-toml
- id: check-yaml
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: cargo-check
- repo: https://github.com/fsfe/reuse-tool
rev: v1.1.2
hooks:
- id: reuse