diff --git a/sqlx-core/src/types/bstr.rs b/sqlx-core/src/types/bstr.rs index 638e6f85..bb3a3b88 100644 --- a/sqlx-core/src/types/bstr.rs +++ b/sqlx-core/src/types/bstr.rs @@ -5,6 +5,7 @@ use crate::encode::{Encode, IsNull}; use crate::error::BoxDynError; use crate::types::Type; +#[doc(no_inline)] pub use bstr::{BStr, BString, ByteSlice}; impl Type for BString diff --git a/sqlx-core/src/types/git2.rs b/sqlx-core/src/types/git2.rs index 38964103..ca405982 100644 --- a/sqlx-core/src/types/git2.rs +++ b/sqlx-core/src/types/git2.rs @@ -5,6 +5,7 @@ use crate::encode::{Encode, IsNull}; use crate::error::BoxDynError; use crate::types::Type; +#[doc(no_inline)] pub use git2::Oid; impl Type for Oid diff --git a/sqlx-core/src/types/mod.rs b/sqlx-core/src/types/mod.rs index 20350b97..09c4de85 100644 --- a/sqlx-core/src/types/mod.rs +++ b/sqlx-core/src/types/mod.rs @@ -34,11 +34,13 @@ mod json; #[cfg(feature = "uuid")] #[cfg_attr(docsrs, doc(cfg(feature = "uuid")))] +#[doc(no_inline)] pub use uuid::{self, Uuid}; #[cfg(feature = "chrono")] #[cfg_attr(docsrs, doc(cfg(feature = "chrono")))] pub mod chrono { + #[doc(no_inline)] pub use chrono::{ DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc, }; @@ -46,25 +48,30 @@ pub mod chrono { #[cfg(feature = "bit-vec")] #[cfg_attr(docsrs, doc(cfg(feature = "bit-vec")))] +#[doc(no_inline)] pub use bit_vec::BitVec; #[cfg(feature = "time")] #[cfg_attr(docsrs, doc(cfg(feature = "time")))] pub mod time { + #[doc(no_inline)] pub use time::{Date, OffsetDateTime, PrimitiveDateTime, Time, UtcOffset}; } #[cfg(feature = "bigdecimal")] #[cfg_attr(docsrs, doc(cfg(feature = "bigdecimal")))] +#[doc(no_inline)] pub use bigdecimal::BigDecimal; #[cfg(feature = "decimal")] #[cfg_attr(docsrs, doc(cfg(feature = "decimal")))] +#[doc(no_inline)] pub use rust_decimal::Decimal; #[cfg(feature = "ipnetwork")] #[cfg_attr(docsrs, doc(cfg(feature = "ipnetwork")))] pub mod ipnetwork { + #[doc(no_inline)] pub use ipnetwork::{IpNetwork, Ipv4Network, Ipv6Network}; }