From 2dfb5686ce4ca5005f3ca8227c93e66789247763 Mon Sep 17 00:00:00 2001 From: LeoniePhiline <22329650+LeoniePhiline@users.noreply.github.com> Date: Wed, 11 Feb 2026 18:23:29 +0100 Subject: [PATCH] Re-export `ParseIrOpt` to ease custom implementations of `FromValue` --- src/lib.rs | 2 ++ tests/exports.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8060d837..3ee88266 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -579,6 +579,8 @@ pub mod prelude { pub use mysql_common::prelude::FromRow; #[doc(inline)] pub use mysql_common::prelude::{FromValue, ToValue}; + #[doc(inline)] + pub use mysql_common::value::convert::ParseIrOpt; /// Everything that is a statement. /// diff --git a/tests/exports.rs b/tests/exports.rs index 2e736f40..b6e9a939 100644 --- a/tests/exports.rs +++ b/tests/exports.rs @@ -4,8 +4,8 @@ use mysql_async::{ futures::GetConn, params, prelude::{ - BatchQuery, FromRow, FromValue, GlobalHandler, Protocol, Query, Queryable, StatementLike, - ToValue, + BatchQuery, FromRow, FromValue, GlobalHandler, ParseIrOpt, Protocol, Query, Queryable, + StatementLike, ToValue, }, BinaryProtocol, Column, Conn, Deserialized, DriverError, Error, FromRowError, FromValueError, GnoInterval, Gtids, IoError, IsolationLevel, OkPacket, Opts, OptsBuilder, Params, ParseError,