From 3332cfaf89dc4330ada8081724cf20044137f747 Mon Sep 17 00:00:00 2001 From: Gentle Date: Sat, 4 Oct 2025 22:15:58 +0200 Subject: [PATCH] make _pydantic_core._pydantic_core pub this allows linking pydantic into a pyo3 project that statically embeds cpython which is useful on target platforms without a filesystem or dynamic linking --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index ad4654177..ff55ea9ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -107,7 +107,7 @@ pub fn build_info() -> String { } #[pymodule(gil_used = false)] -mod _pydantic_core { +pub mod _pydantic_core { #[allow(clippy::wildcard_imports)] use super::*;