mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
Fix broken intra-doc link (#3186)
This commit is contained in:
@@ -34,10 +34,14 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
- name: cargo doc
|
- name: cargo doc -p axum-core
|
||||||
env:
|
run: cargo doc --package axum-core --all-features --no-deps
|
||||||
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"
|
- name: cargo doc -p axum
|
||||||
run: cargo doc --all-features --no-deps
|
run: cargo doc --package axum --all-features --no-deps
|
||||||
|
- name: cargo doc -p axum-extra
|
||||||
|
run: cargo doc --package axum-extra --all-features --no-deps
|
||||||
|
env:
|
||||||
|
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"
|
||||||
|
|
||||||
cargo-hack:
|
cargo-hack:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|||||||
@@ -10,11 +10,13 @@ and this project adheres to [Semantic Versioning].
|
|||||||
- **breaking:** Remove unused `async-stream` feature, which was accidentally
|
- **breaking:** Remove unused `async-stream` feature, which was accidentally
|
||||||
introduced as an implicit feature through an optional dependency which was no
|
introduced as an implicit feature through an optional dependency which was no
|
||||||
longer being used ([#3145])
|
longer being used ([#3145])
|
||||||
- **change:** Make the `status` function of rejections a `const` function, such
|
- **fixed:** Fix a broken link in the documentation of `ErasedJson` ([#3186])
|
||||||
|
- **changed:** Make the `status` function of rejections a `const` function, such
|
||||||
as `FormRejection`, `QueryRejection` and `MultipartRejection` ([#3168])
|
as `FormRejection`, `QueryRejection` and `MultipartRejection` ([#3168])
|
||||||
|
|
||||||
[#3145]: https://github.com/tokio-rs/axum/pull/3145
|
[#3145]: https://github.com/tokio-rs/axum/pull/3145
|
||||||
[#3168]: https://github.com/tokio-rs/axum/pull/3168
|
[#3168]: https://github.com/tokio-rs/axum/pull/3168
|
||||||
|
[#3186]: https://github.com/tokio-rs/axum/pull/3186
|
||||||
|
|
||||||
# 0.10.0
|
# 0.10.0
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,12 @@ tracing = ["axum-core/tracing", "axum/tracing"]
|
|||||||
typed-header = ["dep:headers"]
|
typed-header = ["dep:headers"]
|
||||||
typed-routing = ["dep:axum-macros", "dep:percent-encoding", "dep:serde_html_form", "dep:form_urlencoded"]
|
typed-routing = ["dep:axum-macros", "dep:percent-encoding", "dep:serde_html_form", "dep:form_urlencoded"]
|
||||||
|
|
||||||
|
# Enabled by docs.rs because it uses all-features
|
||||||
|
__private_docs = [
|
||||||
|
# Required for the ErasedJson docs to be able to link to axum::Json
|
||||||
|
"axum/json",
|
||||||
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
axum = { path = "../axum", version = "0.8.0", default-features = false, features = ["original-uri"] }
|
axum = { path = "../axum", version = "0.8.0", default-features = false, features = ["original-uri"] }
|
||||||
axum-core = { path = "../axum-core", version = "0.5.0" }
|
axum-core = { path = "../axum-core", version = "0.5.0" }
|
||||||
|
|||||||
Reference in New Issue
Block a user