mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-19 00:00:09 +02:00
A first pass at updating Tokio to use `std::future`. Implementations of `Future` from the futures crate are updated to implement `Future` from std. Implementations of `Stream` are moved to a feature flag. This commits disables a number of crates that have not yet been updated.
18 lines
416 B
YAML
18 lines
416 B
YAML
jobs:
|
|
# Check formatting
|
|
- job: ${{ parameters.name }}
|
|
displayName: Check rustfmt
|
|
pool:
|
|
vmImage: ubuntu-16.04
|
|
steps:
|
|
- template: azure-install-rust.yml
|
|
parameters:
|
|
rust_version: stable
|
|
- script: |
|
|
rustup component add rustfmt
|
|
cargo fmt --version
|
|
displayName: Install rustfmt
|
|
- script: |
|
|
cargo fmt --all -- --check
|
|
displayName: Check formatting
|