Skip to content

perf: remove redundant allocations and copies from the request and response hot paths #1661

perf: remove redundant allocations and copies from the request and response hot paths

perf: remove redundant allocations and copies from the request and response hot paths #1661

Workflow file for this run

name: Check formatting
on:
push:
branches:
- master
pull_request:
env:
RUSTFLAGS: "--cfg reqwest_unstable"
permissions:
contents: read
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@4066006ec54a31931b9b1fddfd38f2fdf2d27143 # v1
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
with:
components: clippy
- name: Run clippy
run: cargo clippy --all --manifest-path=./Cargo.toml -- -D warnings
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
- name: Run tests
run: cargo test -p impit