Skip to content

Commit 3332cfa

Browse files
author
Gentle
committed
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
1 parent 70bd6f9 commit 3332cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub fn build_info() -> String {
107107
}
108108

109109
#[pymodule(gil_used = false)]
110-
mod _pydantic_core {
110+
pub mod _pydantic_core {
111111
#[allow(clippy::wildcard_imports)]
112112
use super::*;
113113

0 commit comments

Comments
 (0)