Clean up axum-debug crate (#498)

* Clean up axum-debug crate

Mostly just brings the crate more in line with the rest of the crates in
the workspace.

I've also removed the axum-debug-macros crate since axum-debug only
contained one re-export from axum-debug-macros. So we didn't need two
crates. Can always bring the "backend" crate back if we need things in
axum-debug that aren't proc-macros.

* Just testing: This should make CI fail

* Misc CI clean up

* fix intentional breakage

* fix changelog

* Remove rustfmt config for now as it gives warnings on stable

* Fix paths
This commit is contained in:
David Pedersen
2021-11-11 17:33:33 +01:00
committed by GitHub
parent f6b47478da
commit 5da3f34b3e
14 changed files with 354 additions and 438 deletions
+7 -8
View File
@@ -41,9 +41,8 @@ jobs:
profile: minimal
- uses: Swatinem/rust-cache@v1
- name: cargo doc
working-directory: ${{ matrix.subcrate }}
env:
RUSTDOCFLAGS: "-D broken-intra-doc-links"
RUSTDOCFLAGS: "-D broken-intra-doc-links"
run: cargo doc --all-features --no-deps
cargo-hack:
@@ -60,7 +59,6 @@ jobs:
run: |
curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C ~/.cargo/bin
- name: cargo hack check
working-directory: ${{ matrix.subcrate }}
run: cargo hack check --each-feature --no-dev-deps --all
test-versions:
@@ -88,14 +86,11 @@ jobs:
test-msrv:
needs: check
runs-on: ubuntu-latest
strategy:
matrix:
rust: [1.54]
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
toolchain: 1.54
override: true
profile: minimal
- uses: Swatinem/rust-cache@v1
@@ -103,7 +98,11 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: -p axum --all-features --all-targets
args: >
-p axum
-p axum-debug
-p axum-handle-error-extract
--all-features --all-targets
test-docs:
needs: check