From 9d4fe39c7bcf97b9e89d93eb7361b88e156ae0b0 Mon Sep 17 00:00:00 2001 From: Chris Connelly Date: Tue, 17 Oct 2023 15:38:22 +0100 Subject: [PATCH 1/2] chore: update repo references --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e5277a0..b7df068 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "axum-sqlx-tx" description = "Request-scoped SQLx transactions for axum" version = "0.6.0" license = "MIT" -repository = "https://github.com/wasdacraic/axum-sqlx-tx/" +repository = "https://github.com/digital-society-coop/axum-sqlx-tx/" edition = "2021" include = [ "LICENSE", diff --git a/src/lib.rs b/src/lib.rs index 1fb2dbd..ed07ed5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -107,7 +107,7 @@ //! //! See [`examples/`][examples] in the repo for more examples. //! -//! [examples]: https://github.com/wasdacraic/axum-sqlx-tx/tree/master/examples +//! [examples]: https://github.com/digital-society-coop/axum-sqlx-tx/tree/master/examples #![cfg_attr(doc, deny(warnings))] From 4c972d695a394059c62ee5681e96a5a3fbaa547f Mon Sep 17 00:00:00 2001 From: Chris Connelly Date: Tue, 17 Oct 2023 15:55:52 +0100 Subject: [PATCH 2/2] chore: fix doc warnings --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ed07ed5..aa25699 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,7 +58,7 @@ //! ## Error handling //! //! `axum` requires that middleware do not return errors, and that the errors returned by extractors -//! implement `IntoResponse`. By default, [`Error`](Error) is used by [`Layer`] and [`Tx`] to +//! implement `IntoResponse`. By default, [`Error`] is used by [`Layer`] and [`Tx`] to //! convert errors into HTTP 500 responses, with the error's `Display` value as the response body, //! however it's generally not a good practice to return internal error details to clients! //! @@ -154,7 +154,7 @@ pub use crate::{ /// ``` #[derive(Debug, thiserror::Error)] pub enum Error { - /// Indicates that the [`Layer`](crate::Layer) middleware was not installed. + /// Indicates that the [`Layer`] middleware was not installed. #[error("required extension not registered; did you add the axum_sqlx_tx::Layer middleware?")] MissingExtension,